-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: Rectangular ROIs #114
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #114 +/- ##
==========================================
+ Coverage 76.81% 79.02% +2.21%
==========================================
Files 49 51 +2
Lines 4930 5107 +177
==========================================
+ Hits 3787 4036 +249
+ Misses 1143 1071 -72 ☔ View full report in Codecov by Sentry. |
Probably want to refactor this later
Necessary for the "click roi button then click and drag" functionality. Still not happy with this pattern, though...
This can happen when you call ArrayViewer.fully_synchronize_view multiple times.
Still need to clean up the tests, but I think this is ready for your eyes @tlambert03. Points for discussion:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this is looking very nice, and the runtime behavior is great! I looked most closely at everything outside of the actual vispy and pygx implementations (the general model and hookup of it all). If there was anything about the specific graphics implementations that you want me to take a close look at, go ahead and comment inline.
otherwise, do whatever final cleanup/testing you want to add and then let's get this in!
Co-authored-by: Talley Lambert <[email protected]>
e3236b7
to
42ed8b3
Compare
1f81888
to
7d3ac57
Compare
@tlambert03 this morning I got the build working (as best as I could, as you've also noticed tests still segfault sometimes), and added some tests. Let me know what you think of the tests - if you like it, I think this is ready for merge! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT! 🚀 automerge is on
This PR brings support for (rectangular) ROIs to the new array viewer. This work was updated from the original viewer, and needs to be cleaned up, but does pass current automated tests and works well in my limited manual testing.
TODO: