ome / ome-ngff-validator

Web page for validating OME-NGFF files
https://ome.github.io/ome-ngff-validator
BSD 2-Clause "Simplified" License
5 stars 4 forks source link

fix use of showSliceControls #30

Closed will-moore closed 8 months ago

will-moore commented 1 year ago

Reminded of this fix when showing @pwalczysko the other day...

To test:

When chunks are 2D, we don't need to show the 'slice' controls, so it should look like this:

https://deploy-preview-30--ome-ngff-validator.netlify.app/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0062A/6001240.zarr

Screenshot 2023-05-26 at 17 01 30

When chunks are 3D, then we show the 'slice controls':

https://deploy-preview-30--ome-ngff-validator.netlify.app/?source=https://minio-dev.openmicroscopy.org/idr/v0.4/idr0077/9836832_z_dtype_fix.zarr

Screenshot 2023-05-26 at 17 02 45

netlify[bot] commented 1 year ago

Deploy Preview for ome-ngff-validator ready!

Name Link
Latest commit ac1991509874746a7085dcc477f90e496e43dfb3
Latest deploy log https://app.netlify.com/sites/ome-ngff-validator/deploys/6470d80306cccd0008967679
Deploy Preview https://deploy-preview-30--ome-ngff-validator.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

joshmoore commented 1 year ago

For me, the second one is raising an exception, @will-moore:

image

will-moore commented 1 year ago

Seems https://minio-dev.openmicroscopy.org/idr/v0.4/idr0077/9836832_z_dtype_fix.zarr/.zattrs is failing to load (it was working earlier)!

will-moore commented 1 year ago

@will-moore This url is working for me now if you want to give it another try? Thx