-
Notifications
You must be signed in to change notification settings - Fork 11
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
Multiple multiscales #44
Comments
I created another multiple-multiscale NGFF at https://ome.github.io/ome-ngff-validator/?source=https://minio-dev.openmicroscopy.org/idr/v0.4/idr0050/4995115.zarr which seems to import fine - both images look correct. |
Having tested some more with another sample, it seems that the presence of a single Z/T image is what triggers the "corruption" of the planes on previous images. |
So a file under
This is the behavior that I would actually expect, though I assume we need to work on the semantics of multiple multiscales. @dgault, what behavior would you expect? |
I'm pretty sure that https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0050A/4995115.zarr is valid. ZarrReader imports both images (as expected 👍 ) but the first image is 'corrupted' (not expected). |
Even the "pretty sure" worries me. |
Well, I'm as sure as I can be. https://ome.github.io/ome-ngff-validator/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0050A/4995115.zarr says it's valid. |
I don't know if this is an issue with ZarrReader or elsewhere, but just need somewhere to document this strange behaviour.
To test the support for various NGFF viewers for "multiple multiscales", I created a sample at https://ome.github.io/ome-ngff-validator/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0050A/4995115.zarr:
omero zarr export 4995115
->4995115.zarr
omero zarr export 4995097
->4995097.zarr
multiscales
metadata from4995097.zarr/.zattrs
into4995115.zarr/.zattrs
to add a secondmultiscales
to the list.When imported into OMERO, we get 2 images and the 2nd looks OK. But the first one seems to show the same planes for every Z-index and the 3 channels show mostly the same thing, but not exactly the same!
Viewing the same NGFF in vizarr looks fine (although the 2nd multiscales image is ignored): https://hms-dbmi.github.io/vizarr/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0050A/4995115.zarr
If I remove the 2nd
multiscales
item from the list in4995115.zarr/.zattrs
and re-import, the image imports as expected (and the 'orphaned' .zarrays get imported as separate images...import log
The text was updated successfully, but these errors were encountered: