-
Notifications
You must be signed in to change notification settings - Fork 57
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
Bugfix: fix deform augment edge cases #223
Conversation
- Use the full ROI and not just the spatial roi for cropping graph - Allow the jitter to be float valued and not a Coordinate - Use the control point spacing already cast to Coordinate to determine the raster voxel size default value - Avoid an empty zip in the fast points projection
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## patch-1.4.1 #223 +/- ##
==============================================
Coverage ? 68.66%
==============================================
Files ? 100
Lines ? 6925
Branches ? 0
==============================================
Hits ? 4755
Misses ? 2170
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Everything looks good to me. Just some nit picky comments If you have time It would be nice to add or adjust a test case so that tests fail without this bugfix but pass with it |
Wait I don't see the comments - I don't think you officially submitted a "review" so maybe that's why (it still says review pending) |
@pattonw I adapted my downstream test case that I was using to actually find the bugs and added it to the deform augment tests. We now have two pretty different kinds of tests - I can unify if you want, but I'm not sure what the best way to test actually is. Using GPGraphSource seems simpler to set up the test source, but I'm not sure if there are downsides? |
Yes, your test is significantly better since it doesn't create a custom node, is much more succinct. I have been slowly removing custom nodes in favor of simple |
Pre-Merge Checklist:
patch-X.Y.Z
)