-
Notifications
You must be signed in to change notification settings - Fork 22
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
Blank canvas #262
Comments
Also the memory usage does increase, so the images are being read, just not rendered. |
When I go to https://hms-dbmi.github.io/vizarr/?source=https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr I see CORS errors in the console:
validator also reports CORS issues: https://ome.github.io/ome-ngff-validator/?source=https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr |
@will-moore I don't think CORS is the cause of this, since using a local copy also doesn't work. Separately, the validator seems to be looking for zarr v3 data (indicated by
|
Both the validator and vizarr will check for zarr v2 and zarr v3 data, so a 404 for If the validator fails to load the original request (doesn't even respond with a 404), it makes another with So, your original issues is maybe not due to CORS, but CORS issues mean that I can't help to look into the problem. What does the validator show when you use a local copy (and how are you serving this)? |
I tried downloading the sample using
but that died once it had used up all the space on my machine! However, I was able to view the partially downloaded data with:
After opening in vizarr and boosting the contrast levels: |
Sorry about using a large dataset as example. Here's a smaller one (a few GBs):
I'm trying to view it in the jupyter notebook (running in Google Colab), and the canvas is also blank. Using a local copy of this, {
"instancePath": "/multiscales/0/coordinateTransformations/0",
"schemaPath": "#/$defs/coordinateTransformations/items/oneOf/0/required",
"keyword": "required",
"params": {
"missingProperty": "scale"
},
"message": "must have required property 'scale'"
}
{
"instancePath": "/multiscales/0/coordinateTransformations/0",
"schemaPath": "#/$defs/coordinateTransformations/items/oneOf/1/required",
"keyword": "required",
"params": {
"missingProperty": "translation"
},
"message": "must have required property 'translation'"
}
{
"instancePath": "/multiscales/0/coordinateTransformations/0",
"schemaPath": "#/$defs/coordinateTransformations/items/oneOf",
"keyword": "oneOf",
"params": {
"passingSchemas": null
},
"message": "must match exactly one schema in oneOf"
} Here the multiscale has an "coordinateTransformations": [
{
"type": "identity"
}
] This is valid per spec text, but fails due to a bug in the schema for which the fix has been delayed for years: ome/ngff#152 |
Have you tried adjusting the rendering settings in vizarr? The channel slider |
I have OME-Zarr v0.4 images that are spec-conformant and can be viewed via napari-ome-zarr, neuroglancer etc. In vizarr, the metadata appear to be parsed, but the canvas is just black. This happens for both local files and HTTP servers.
For example, here's the image below rendered on the neuroglacer example app:
In the same environment I can get the example astronaut image rendered. What am I doing wrong?
The text was updated successfully, but these errors were encountered: