Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Nicodemus committed Dec 16, 2024
1 parent 72b75d2 commit bf9663a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/cajal/fused_gw_swc.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ def _init_fgw_pool(
This is a private function.
"""
global _CELLS
_CELLS: list[tuple[npt.NDArray[np.float64], npt.NDArray[np.float64]]] = cells # type: ignore[name-defined]
_CELLS = cells # type: ignore[name-defined]
global _NODE_TYPES
_NODE_TYPES: npt.NDArray[np.int32] = node_types # type: ignore[name-defined]
global _WORST_CASE_GW_INCREASE
_WORST_CASE_GW_INCREASE: Optional[float] = worst_case_gw_increase # type: ignore[name-defined]
global _KWARGS
_KWARGS: dict[str, Any] = kwargs # type: ignore[name-defined]
_KWARGS = kwargs # type: ignore[name-defined]
global _PENALTY_DICTIONARY
_PENALTY_DICTIONARY: dict[tuple[int, int], float] = penalty_dictionary # type: ignore[name-defined]
_PENALTY_DICTIONARY = penalty_dictionary # type: ignore[name-defined]


def _fgw_index(p: tuple[int, int]):
Expand Down
4 changes: 2 additions & 2 deletions tests/test_run_gw.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from src.cajal.run_gw import compute_gw_distance_matrix
from src.cajal.utilities import (
from cajal.run_gw import compute_gw_distance_matrix
from cajal.utilities import (
read_gw_dists,
read_gw_couplings,
cell_iterator_csv,
Expand Down

0 comments on commit bf9663a

Please sign in to comment.