-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error when opening OME-Zarr created with bioformats2raw #72
Comments
It's an encoding issue: the data is written with |
This file was written with bioformats2raw (ping @sbesson @joshmoore), which is what many people use to create OME-Zarr files. |
Ideally this should be fixed in bioformats to raw, so that it writes utf-8 and only uses the recommended names for units in order to be fully spec compliant. |
Can you share the extract of the JSON which causes the issue on Mobie? |
@tischi can you provide the minimal example and data for this? I think we can go ahead with the release irrespective of this. |
Here is the example data: Here is the associated information including the conversion parameters: |
@bugraoezdemir {
"multiscales" : [
{
"metadata" : {
"method" : "loci.common.image.SimpleImageScaler",
"version" : "Bio-Formats 6.8.0"
},
"datasets" : [
{
"path" : "0"
},
{
"path" : "1"
},
{
"path" : "2"
}
],
"version" : "0.2"
}
]
} I will try to discuss this with @tischi I am a bit confused here. |
This is the error that corresponds to the image @bugraoezdemir uploaded. |
Sorry. It was my mistake. The earlier error corresponded to another conversion. |
Hey @sbesson, |
Now I am a bit confused 😄 |
Yes, we can open multiple images, but that does not imply a nested folder structure w.r.t. the multi-scales metadata: We can open (sorry for the filetree / json hybrid):
but we can't open:
|
Oh, wow, I did not even know that the spec allowed multiple images within one multiscale (I will refrain from asking what's the use-case for that in order not to abuse this issues (Praeteritio)). |
@tischi your past self has wondered about this already: ome/ngff#17 |
I will leave you guys to sort out what MoBIE should or should not support 😄 Cross-linking other threads for completion:
|
@constantinpape |
@sbesson thanks for the pointers!
Yes, we (at least the @bugraoezdemir and @tischi who are actually using And thanks for the xref to glencoesoftware/bioformats2raw#121. Do you have a rough ETA on when that will be merged and released?
Yes, we don't support it in the very general case of a nested hierarchy yet.
There is no restriction on how to use multiple images at the same hierarchy level, so it might as well be different images. |
This has been resolved. |
@constantinpape @K-Meech @KateMoreva
Plugins › BigDataViewer › OME ZARR › Open OME ZARR From File System...
with
/g/cba/exchange/ome-zarr/2022/lifdata1__bf2raw-0-4-0.zarr
gives
The text was updated successfully, but these errors were encountered: