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

Mismatch between Validator and Vizarr viewer #60

Open
JensWendt opened this issue Oct 11, 2024 · 4 comments
Open

Mismatch between Validator and Vizarr viewer #60

JensWendt opened this issue Oct 11, 2024 · 4 comments

Comments

@JensWendt
Copy link
Contributor

Hi ,

I just checked out the latest https://deploy-preview-53--ngff-challenge.netlify.app/
and realized the NGFF-validator seems perfectly fine for my Lightsheet image but the proposed Vizarr viewer throws an error: Error: server replied with "Group is missing multiscales specification." when loading the resource
When I add /0 at the end, it works fine (except the fucked up B&C settings for the channels 😄 )
Is there something I can add/change to make it work properly?

@will-moore
Copy link
Member

Ah - Thanks for the feedback. Hmm - I realise I don't have the information stored in the CSV to know whether to add a /0 to the URL for vizarr. I actually look that up for each zarr as part of the Thumbnail generation, so I could use that to fix the link. Alternatively I could add into the csv the path-to-image, which would improve performance of thumbnail loading.
I'll look into it...

@joshmoore
Copy link
Member

Adding the path-to-image seems tricky -- in this case it works because there's only one image, but then you lose the RO-Crate, no?

@will-moore
Copy link
Member

I guess what I mean is adding a relative path/to/thumbnail/zarr.json and not changing the original url/to/image.zarr.
This would also fix the thumbnail for images where the bioformats2raw series is not /0. I'm currently making the assumption of /0 for thumbnails (so I don't have to load the XML just to render a thumbnail) but it breaks like https://deploy-preview-36--ome-ngff-validator.netlify.app/?source=https://radosgw.public.os.wwu.de/n4bi-goe/Platynereis-H2B-TL.ome.zarr

@joshmoore
Copy link
Member

I guess what I mean is adding a relative path/to/thumbnail/zarr.json

Gotcha.

@will-moore will-moore mentioned this issue Oct 13, 2024
10 tasks
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

3 participants