Skip to content

Commit

Permalink
combine_neurons: fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Dec 13, 2023
1 parent 06bb4ff commit cf18531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion navis/morpho/manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ def combine_neurons(*x: Union[Sequence[NeuronObject], 'core.NeuronList']
elif isinstance(nl[0], core.VoxelNeuron):
raise TypeError('Combining VoxelNeuron not (yet) supported')
else:
raise TypeError(f'Unable to combine {ty}')
raise TypeError(f'Unable to combine {type(nl[0])}')

return x

Expand Down

0 comments on commit cf18531

Please sign in to comment.