Skip to content

Commit

Permalink
bugfix: radius was not part of xyzr
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldeistler committed Dec 7, 2023
1 parent 107ba9d commit 27bcdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaxley/utils/swc.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def swc_to_jaxley(

all_coords_of_branches = []
for i, branch in enumerate(sorted_branches):
coords_of_branch = content[np.asarray(branch) - 1, 2:5]
coords_of_branch = content[np.asarray(branch) - 1, 2:6]
all_coords_of_branches.append(coords_of_branch)

return parents, pathlengths, radius_fns, types, all_coords_of_branches
Expand Down

0 comments on commit 27bcdeb

Please sign in to comment.