Closed will-moore closed 11 months ago
This fixes an issue I saw when trying to view a simple NGFF Plate created by the example code at https://github.com/ome/ome-zarr-py/pull/317/files
The Images in this Plate have no omero metadata and they also have no c dimension (just zyx). In this case, the defaultMeta() logic fails to calculate contrast limits. Allowing that code to work with channelAxis being -1 looks like the simplest fix.
omero
c
zyx
defaultMeta()
channelAxis
-1
This fixes an issue I saw when trying to view a simple NGFF Plate created by the example code at https://github.com/ome/ome-zarr-py/pull/317/files
The Images in this Plate have no
omero
metadata and they also have noc
dimension (justzyx
). In this case, thedefaultMeta()
logic fails to calculate contrast limits. Allowing that code to work withchannelAxis
being-1
looks like the simplest fix.