Skip to content

Commit

Permalink
fix fallback split response
Browse files Browse the repository at this point in the history
  • Loading branch information
ceesem committed Sep 5, 2024
1 parent baad3b2 commit 041a0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshparty/meshwork/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def split_axon_by_synapses(
if nrn.skeleton is None:
raise ValueError("Meshwork must have skeleton")
if len(pre_inds) == 0 or len(post_inds) == 0:
is_axon_sk = []
is_axon_sk = np.full(len(nrn.skeleton.vertices), False)
split_quality = 0
else:
pre_inds = nrn._convert_to_meshindex(pre_inds)
Expand Down

0 comments on commit 041a0ad

Please sign in to comment.