Mark T. B. Carroll
Mark T. B. Carroll
(Basically, from the point of view of developing in Java, it's generally not fun to try to interpret the Zarr v2 spec. :confused: Compressors are another thorny bit.)
I was surprised by that too. I'm adapting it from https://github.com/ome/omero-ms-zarr/blob/6add6804/spec.md#user-content-color, don't know why it needs stringifying though.
I think the image's pixel values have to fit the `dtype` as at https://zarr.readthedocs.io/en/stable/spec/v2.html#data-type-encoding.
Aha, that'll be it, thank you. Could be we decide to opt for 1/0 for split masks, it's an easy change to make to the microservice. I wonder if that...
For `image/123.zarr/0/` we have the directory listing controlled by `omero.ms.zarr.folder.layout` so we know, alongside the `.zarray`, if to list flattened chunks or the top level of the nested chunk directories....
Note also https://github.com/ome/omero-ms-zarr/blob/v0.1.0/src/main/java/org/openmicroscopy/ms/zarr/ZarrDataVerticle.java#L77.
The code changes certainly look plausible and helpful.
If accepted then could revert https://github.com/ome/openmicroscopy/pull/6217.
Thank you for so clearly and specifically describing the issues you ran into, this will certainly help us to improve the documentation and/or error reporting for future users; we generally...
> what is this command, rm -fr node_modules? > > It doesn't help me on windows It just deletes the `node_modules` folder.