Skip to content
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

BUG: Fetch current scale before use in roi methods #719

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented Dec 19, 2023

multiscales.images[-1] is not going to produce the expected results.

Explicitly fetch the current scale when getting the roi slice. I did not test this, but hopefully it will yield more consistent results if the viewer is exploring different resolutions.

multiscales.images[-1] is not going to produce the expected results.

Explicitly fetch the current scale when getting the roi slice. I did not
test this, but hopefully it will yield more consistent results if the
viewer is exploring different resolutions.
@thewtex thewtex requested a review from bnmajor December 19, 2023 21:13
@thewtex thewtex merged commit 9aba3d9 into InsightSoftwareConsortium:main Dec 19, 2023
6 checks passed
@thewtex thewtex deleted the roi-scale-fetch branch December 19, 2023 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants