From 048c54728497bc0c27f521aade4940e7dc60e907 Mon Sep 17 00:00:00 2001 From: Philipp Schlegel Date: Tue, 17 Sep 2024 15:20:35 +0100 Subject: [PATCH] neuprint interface: fix fetch_mesh_neuron --- navis/interfaces/neuprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navis/interfaces/neuprint.py b/navis/interfaces/neuprint.py index 9d8d0b35..6a6624de 100644 --- a/navis/interfaces/neuprint.py +++ b/navis/interfaces/neuprint.py @@ -289,7 +289,7 @@ def fetch_mesh_neuron(x, *, lod=1, with_synapses=False, missing_mesh='raise', n.soma_radius = radii[n.id] / n.units.to('nm').magnitude else: n.soma_radius = None - n.soma = n.somaLocation + n.soma_pos = n.somaLocation if with_synapses: # Fetch synapses