Increase MaximumLength of vedo's Mesh.join(reset=True)#121
Increase MaximumLength of vedo's Mesh.join(reset=True)#121zenWai wants to merge 2 commits intobrainglobe:mainfrom
Conversation
- Taking as an example kim_mouse_10um position 9100, specifically fixes the root not being fully visible
|
I started with a simple After exploring a bit more I saw the need to increase the MaximumLength from vtkStripper used when calling .join(). I wasn't able to find a easy straight forward way of increasing the MaximumLength for vtkStripper, so I replicated the join() method to be able to increase the MaximumLength. it would be awesome to find a better way to increase the MaximumLength for vtkStripper and deprecate the introduced method |
|
Currently the tests will need the kim_mouse_10um, but potentially will stress ghactions 🤔 |
|
It's not practical to use an atlas of that size for automated tests, can you create some synthetic data for testing? |
- test with sphere, shuffled cells, higher res triggers SetMaximumLength constraint
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #121 +/- ##
==========================================
+ Coverage 69.63% 71.46% +1.83%
==========================================
Files 5 5
Lines 326 347 +21
==========================================
+ Hits 227 248 +21
Misses 99 99 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Done! Thanks for the quick feedback. |
Description
What is this PR
Why is this PR needed?
What does this PR do?
Replicate vedo's join(reset=True) with the limit raised to 100000, so the stripper doesn't split it into multiple cells.
How has this PR been tested?
Is this a breaking change?
no
Does this PR require an update to the documentation?
no
Checklist: