-
Notifications
You must be signed in to change notification settings - Fork 31
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
Render roi thumbnail fixes #157
Conversation
Tested 4 cases
See links , user-3 All works as expected, I am getting insets such as in the screenshot below. Ready to merge fmpov. |
Sorry, @will-moore. Can you describe in words what the change in behavior is? |
Previously I got an exception if theT was None:
|
Understood and thanks. Like the public user fix, would be good to see this rolled into a release soon. Only possible follow-up thought is if there's would be any chance in our test suite to add a check for this. |
Added tests at ome/openmicroscopy#6235 |
Few more BytesIO in the method that are not closed e.g. omero-web/omeroweb/webgateway/views.py Line 599 in e2fc30c
omero-web/omeroweb/webgateway/views.py Line 632 in e2fc30c
and few others in |
I would prefer not to add more to this PR. |
Could you create an issue so we review the resources opened in a follow-up PR? |
Created #175 |
because this PR is NOT merged and ome/openmicroscopy#6235 is merged. |
Retriggered the integration tests now that the commit is green. |
Found bug in
render_roi_thumbnail
as part of the iviewer work at ome/omero-iviewer#311We don't use
render_roi_thumbnail
in any of our clients (old webgateway viewer uses Shapes thumbnails, not ROIs).Added tests at ome/openmicroscopy#6235
To test:
/webgateway/render_roi_thumbnail/{ROI_ID}/