Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call kimimaro.skeletontricks.roll_invalidation_ball_inside_component using positional-only arguments #87

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions kimimaro/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading