From 0b324f0aedd21bee142615fd875e273623765cda Mon Sep 17 00:00:00 2001 From: Philipp Schlegel Date: Sun, 31 Mar 2024 11:55:37 +0100 Subject: [PATCH] fix despike --- skeletor/post/postprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skeletor/post/postprocessing.py b/skeletor/post/postprocessing.py index af20ae2..e4a1ed8 100644 --- a/skeletor/post/postprocessing.py +++ b/skeletor/post/postprocessing.py @@ -639,7 +639,7 @@ def despike(s, s = s.copy() # Index nodes table by node ID - this_nodes = s.nodes.set_index('node_id', inplace=False) + this_nodes = s.swc.set_index('node_id', inplace=False) segments = s.get_segments() segs_to_walk = segments