Preview rdef start end ints#5484
Conversation
|
Conflicting PR. Removed from build OMERO-DEV-merge-push#790. See the console output for more details.
|
|
Conflicting PR. Removed from build OMERO-DEV-merge-push#791. See the console output for more details.
|
|
Conflicting PR. Removed from build OMERO-DEV-merge-push#792. See the console output for more details.
|
|
Conflicting PR. Removed from build OMERO-DEV-merge-push#793. See the console output for more details.
|
|
Conflicting PR. Removed from build OMERO-DEV-merge-push#794. See the console output for more details.
|
|
Conflicting PR. Removed from build OMERO-DEV-merge-push#796. See the console output for more details.
|
|
Conflicting PR. Removed from build OMERO-DEV-merge-push#797. See the console output for more details.
|
|
@rgozim Did you get a chance to look at this? |
|
Tested on web-dev-merge. Works as described. |
|
Could a robot test be doable in that case? |
|
Updated robot test to check that rdef settings (floats) are copied, pasted & applied correctly. |
|
I think you should keep a mix of int and floats not all floats in the tests |
|
Why? |
|
They are both testing different actions (Copy -> 'Paste & Save' and click rdef thumbnail) |
|
To be sure handle both correctly |
|
Added testing of copy & paste of start/end Integers into another test. |
|
@will-moore thanks |
|
PR works as described, the |
|
Argh, that was yesterday's robot tests, today's not finished yet. Will check again later. |
|
Finally dev-merge-robot job ran again. There are a couple of Rdef related failed tests. I guess that might have been caused by this PR. https://ci.openmicroscopy.org/view/Failing/job/OMERO-DEV-merge-robotframework/718/robot/ |
|
Hmmm - All Rdef tests are passing for me locally on this branch... Let's see what test result we get today... |
|
Rdef tests all passing today: https://ci.openmicroscopy.org/view/Failing/job/OMERO-DEV-merge-robotframework/719/robot/ |
|
Good to merge then. Manual testing of the PR worked as described. 👍 |
What this PR does
Fixes an error loading Preview panel when the rendering setting channel start/end values are floats, not integers. Although we only see this error on web-dev-integration (doesn't fail locally, maybe different Python version).
However, this also highlighted that we shouldn't be casting start/end to Integer because some float images have very small ranges and it's important to use float start/end values.
Fixed another example of casting these to Integer in the JavaScript viewer.
Testing this PR