ome / omero-scripts

Core OMERO Scripts
https://pypi.org/project/omero-scripts/
12 stars 32 forks source link

split view figure z-projection with one z returns an error #162

Open manics opened 4 years ago

manics commented 4 years ago

Discovered whilst creating a split-view-figure to test https://github.com/ome/scripts/pull/159 on py3-ci

Screen Shot 2019-11-21 at 18 21 35

Select a multi-channel image with one Z. Create a split view figure, selection Z-projection. Run the script and you'll receive an error:

    serverExceptionClass = ome.conditions.ValidationException
    message = Z interval value cannot be >= 1

Expected behaviour: Should work, a maximum projection of an image with one Z should be the same as the original image. Alternatively disable the option.