We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baad3b2 commit 041a0adCopy full SHA for 041a0ad
meshparty/meshwork/algorithms.py
@@ -44,7 +44,7 @@ def split_axon_by_synapses(
44
if nrn.skeleton is None:
45
raise ValueError("Meshwork must have skeleton")
46
if len(pre_inds) == 0 or len(post_inds) == 0:
47
- is_axon_sk = []
+ is_axon_sk = np.full(len(nrn.skeleton.vertices), False)
48
split_quality = 0
49
else:
50
pre_inds = nrn._convert_to_meshindex(pre_inds)
0 commit comments