Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldeistler committed Nov 6, 2023
1 parent 4b55eea commit 6574712
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"jax[cpu]",
"numpy",
"pandas",
"matplotlib",
]


Expand Down
4 changes: 2 additions & 2 deletions tests/test_swc.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def test_swc_reader_lengths():
fname = "morph.swc"

_, pathlengths, _, _ = nx.utils.read_swc(fname, max_branch_len=2000.0)
_, pathlengths, _, _ = nx.utils.swc.swc_to_neurax(fname, max_branch_len=2000.0)
pathlengths = np.asarray(pathlengths)[1:]

for sec in h.allsec():
Expand Down Expand Up @@ -58,7 +58,7 @@ def test_swc_radius():
# Can not use full morphology because of branch sorting.
fname = "morph_250.swc"

_, pathlen, radius_fns, _ = nx.utils.read_swc(
_, pathlen, radius_fns, _ = nx.utils.swc.swc_to_neurax(
fname, max_branch_len=2000.0, sort=False
)
neurax_diams = []
Expand Down

0 comments on commit 6574712

Please sign in to comment.