-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
BUG: WCS to Pixels to WCS gives wrong reference data #2724
Comments
That's confusing, especially because I made sure this worked when I last touched this code. I followed your example, and I see the bug too, and if you do: for viewer_name, viewer in imviz.viewers.items():
print(
viewer_name,
viewer._obj.state.reference_data.label,
viewer._obj.state.linked_by_wcs
) You see
but as you mentioned, the data are linked by the WCS on the data, rather than the WCS in the WCS-only layer. Did someone change the logic for when to change reference data on link-type change? |
So many things were merged in around that time, I can't remember what is what. Might be an accidental regression when a rebase happen somewhere too. |
@bmorris3 , I think I know where the bug is but I don't understand the distinction between jdaviz/jdaviz/configs/imviz/helper.py Line 591 in 4907826
|
|
This is a follow-up of:
And discovered in:
Workflow to reproduce:
ImvizDitheredExample.ipynb
example notebook. Load both data.imviz-1
) selected in Orientation, click on the "N-up E-right" icon so now the second viewer image is aligned by N-up E-right.🐱
The text was updated successfully, but these errors were encountered: