Skip to content

Commit

Permalink
MeshNeuron: fix .soma_pos setter
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Sep 22, 2024
1 parent 519f8ab commit 06836a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion navis/core/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def soma_pos(self):
def soma_pos(self, value):
"""Set soma by position."""
if value is None:
self.soma = None
self._soma_pos = None
return

try:
Expand Down

0 comments on commit 06836a0

Please sign in to comment.