From 03d9e9e30066090c35105eaa625f3caca154d899 Mon Sep 17 00:00:00 2001 From: Jason Adhinarta Date: Tue, 11 Jun 2024 18:03:00 -0400 Subject: [PATCH] bugfix: call kimimaro.skeletontricks.roll_invalidation_ball_inside_component using required positional-only arguments --- kimimaro/trace.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kimimaro/trace.py b/kimimaro/trace.py index b0f2a6b..62aea79 100644 --- a/kimimaro/trace.py +++ b/kimimaro/trace.py @@ -160,10 +160,10 @@ def trace( if soma_mode: invalidated, labels = kimimaro.skeletontricks.roll_invalidation_ball_inside_component( labels, DBF, - path=[root], - scale=soma_invalidation_scale, - const=soma_invalidation_const, - anisotropy=anisotropy, + soma_invalidation_scale, + soma_invalidation_const, + anisotropy, + [root], voxel_connectivity_graph=voxel_graph, ) # This target is only valid if no @@ -261,7 +261,7 @@ def find_target(): if valid_labels > 0: invalidated, labels = kimimaro.skeletontricks.roll_invalidation_ball_inside_component( labels, DBF, scale, const, - anisotropy=anisotropy, path=path, + anisotropy, path, voxel_connectivity_graph=voxel_graph, ) valid_labels -= invalidated