Skip to content

Comments

v0.1.14: added post.reroot(); fixed dx._voxelize_union()#21

Merged
huangziwei merged 4 commits intomainfrom
area
Sep 9, 2025
Merged

v0.1.14: added post.reroot(); fixed dx._voxelize_union()#21
huangziwei merged 4 commits intomainfrom
area

Conversation

@huangziwei
Copy link
Collaborator

@huangziwei huangziwei commented Sep 9, 2025

fix: dx._voxelize_union() failed to exclude soma in the last release when include_soma=False.

It's an embarrassing update so short after the last, so I took this opportunity to add post.reroot, which is mostly for skeletons without a true soma (soma detection failed in skeletonize), in those cases the default pseudo-soma will not be ideal most of the time, so you might want to reroot the skeleton to another extreme node or a node ID of you choice:

skel_rerooted = skel.reroot(axis="z", mode="max")

or

skel_rerooted = skel.reroot(node_id=<node_id_of_your_choice>)

@huangziwei huangziwei changed the title v0.1.14 v0.1.14: added post.reroot(); fixed dx._voxelize_union() Sep 9, 2025
@huangziwei huangziwei merged commit ea6317e into main Sep 9, 2025
4 checks passed
@huangziwei huangziwei deleted the area branch October 6, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant