From 27bcdebaa0fa2280124db2cbd1a62c4918186d0c Mon Sep 17 00:00:00 2001 From: michaeldeistler Date: Thu, 7 Dec 2023 10:10:50 +0100 Subject: [PATCH] bugfix: radius was not part of xyzr --- jaxley/utils/swc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jaxley/utils/swc.py b/jaxley/utils/swc.py index 98a05965..52504b20 100644 --- a/jaxley/utils/swc.py +++ b/jaxley/utils/swc.py @@ -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