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

Swap chunkX and chunkY for cube lines #29

Merged
merged 2 commits into from
May 22, 2023

Conversation

will-moore
Copy link
Member

@will-moore will-moore commented May 18, 2023

Tiny bug fix...

The chunkX and chunkY lines drawn on the 3D cube are swapped, so that when chunks are rectangular (not square) then the chunks are "portrait" instead of "landscape" (and vice versa).
E.g: https://ome.github.io/ome-ngff-validator/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0101A/13457537.zarr

Here, the chunk size is the same as the shape, so we shouldn't see any chunk-divider lines, but we do:

Screenshot 2023-05-18 at 21 57 18

This is fixed in this PR:
https://deploy-preview-29--ome-ngff-validator.netlify.app/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0101A/13457537.zarr

Screenshot 2023-05-22 at 14 34 25

@netlify
Copy link

netlify bot commented May 18, 2023

Deploy Preview for ome-ngff-validator ready!

Name Link
🔨 Latest commit 3533421
🔍 Latest deploy log https://app.netlify.com/sites/ome-ngff-validator/deploys/646b6f59a167cb000712f2b5
😎 Deploy Preview https://deploy-preview-29--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.

@will-moore will-moore requested a review from joshmoore May 22, 2023 13:35
Copy link
Member

@joshmoore joshmoore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @will-moore

@will-moore will-moore merged commit fe75b52 into ome:main May 22, 2023
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

Successfully merging this pull request may close these issues.

2 participants