-
Notifications
You must be signed in to change notification settings - Fork 75
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
Rotate image in Imviz #1340
Rotate image in Imviz #1340
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1340 +/- ##
==========================================
- Coverage 84.91% 84.50% -0.41%
==========================================
Files 91 93 +2
Lines 8288 8398 +110
==========================================
+ Hits 7038 7097 +59
- Misses 1250 1301 +51
Continue to review full report at Codecov.
|
The approach of using a dummy dataset with a rotated WCS is 'what I would do too given the current glue infrastructure. I think what we ideally want to be able to do is to have the ability to have such datasets have a special status in glue which would make them 'hidden' from most lists except for the reference data in the image viewer, but that's not possible for now. But it is something I could prioritize if desired. |
This comment was marked as resolved.
This comment was marked as resolved.
3f98fa0
to
556ccb2
Compare
b7b066b
to
feb9850
Compare
# Imviz falls back to ID for user-created viewers. | ||
if viewer_item is not None: | ||
viewer = self._viewer_store[viewer_item['id']] | ||
else: # Maybe it is ID |
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 used to have this in the app somewhere but maybe it was removed in one of the refactoring. @kecnry , I know your pet peeve is the reference vs ID stuff, so I want to make sure you are okay with this change.
and other bug fixes
Looks like this PR might be rejected, so I am going to take out the bug fixes and open new PR for that (see #1392). |
From tag up this morning, POs @orifox and @larrybradley have agreed to pursue #1384 instead. Therefore, I moved the bug fixes to #1392 and closing this PR without merge. |
that still does not work
Description
This pull request is to allow image rotation in Imviz.
Still need
a lot ofsome work but here is what I get with the stuff in the concept notebook added in this PR:Bonus: Compass zoom box now can rotate too.
TODO
How to make Compass play nice with rotation?We will just disable the zoom box in Compass when this plugin is active or something.ref #1466
Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
trivial
label.CHANGES.rst
?