Skip to content

Commit

Permalink
bug: radius of swc
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-grim committed Oct 31, 2024
1 parent 93bd93e commit b116176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deep_neurographs/neurograph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ def branch_to_zip(self, text_buffer, n_entries, i, j, parent, color):
idxs = np.arange(1, len(branch_xyz))
for k in util.spaced_idxs(idxs, 6):
x, y, z = tuple(branch_xyz[k])
r = 6 if self.nodes[i]["radius"] == 7.3141592 else 2
r = 6 if branch_radius[k] == 7.3141592 else 2

node_id = n_entries + 1
parent = n_entries if k > 1 else parent
Expand Down

0 comments on commit b116176

Please sign in to comment.