Skip to content
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

Missing .zgroups in Spraggins preview? #113

Open
mccalluc opened this issue Sep 1, 2020 · 1 comment
Open

Missing .zgroups in Spraggins preview? #113

mccalluc opened this issue Sep 1, 2020 · 1 comment

Comments

@mccalluc
Copy link
Collaborator

mccalluc commented Sep 1, 2020

Loading https://portal.stage.hubmapconsortium.org/preview/multimodal-molecular-imaging-data, I get a number of 404s for .zgroup files. The UI functionality seems fine, but is there a way we can get rid of the 404s? (Either put stub files at those URLS, or understand why they are being requested, and change what we're doing on the client side?) cc @ilan-gold .

https://vitessce-data.storage.googleapis.com/0.0.27/master_release/spraggins/spraggins.ims.zarr/.zgroup
https://vitessce-data.storage.googleapis.com/0.0.27/master_release/spraggins/spraggins.mxif.zarr/0/.zgroup
https://vitessce-data.storage.googleapis.com/0.0.27/master_release/spraggins/spraggins.mxif.zarr/1/.zgroup
https://vitessce-data.storage.googleapis.com/0.0.27/master_release/spraggins/spraggins.mxif.zarr/2/.zgroup
https://vitessce-data.storage.googleapis.com/0.0.27/master_release/spraggins/spraggins.mxif.zarr/3/.zgroup
https://vitessce-data.storage.googleapis.com/0.0.27/master_release/spraggins/spraggins.mxif.zarr/4/.zgroup
https://vitessce-data.storage.googleapis.com/0.0.27/master_release/spraggins/spraggins.mxif.zarr/5/.zgroup
https://vitessce-data.storage.googleapis.com/0.0.27/master_release/spraggins/spraggins.mxif.zarr/6/.zgroup
@manzt
Copy link
Member

manzt commented Dec 18, 2020

This is from Zarr.js (and something I've been meaning to get around to): https://github.com/gzuidhof/zarr.js/blob/375ce0c299469a970da6bb5653513564e25806bb/src/creation.ts#L154

The zarr.openArray checks if node is a group before trying to open it as an array (these are mutually exclusive nodes). This checks for the <path>/.zgroup key in the store, which in our case is an HTTPStore that uses fetch internally to ping the server.

It's really annoying and an artifact of how zarr-python opens an array conservatively. I've been meaning to get around to fixing it but haven't had the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants