From 77b19922e4ea425cffa7d64fc0c8a492960476da Mon Sep 17 00:00:00 2001 From: Philipp Schlegel Date: Fri, 25 Feb 2022 12:21:02 +0000 Subject: [PATCH] split_axon_dendrites: map `compartment` to MeshNeurons --- navis/morpho/manipulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navis/morpho/manipulation.py b/navis/morpho/manipulation.py index 381c1e13..9619067a 100644 --- a/navis/morpho/manipulation.py +++ b/navis/morpho/manipulation.py @@ -510,7 +510,7 @@ def _prune_twigs_precise(neuron: 'core.TreeNeuron', @utils.map_neuronlist(desc='Splitting', allow_parallel=True) @utils.meshneuron_skeleton(method='split', include_connectors=True, - copy_properties=['color'], + copy_properties=['color', 'compartment'], disallowed_kwargs={'label_only': True}, heal=True) def split_axon_dendrite(x: NeuronObject,