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

Make chunks have the same number of dimensions as shape #269

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

tomwhite
Copy link
Contributor

@tomwhite tomwhite commented Jul 8, 2024

I noticed this when working on #254 - Zarr v3 requires that shape and chunks both have the same number of dimensions. Zarr v2 doesn't, but there's no harm in setting the missing dimensions to a single chunk, and it's arguably clearer.

@coveralls
Copy link
Collaborator

coveralls commented Jul 8, 2024

Coverage Status

coverage: 98.854% (-0.04%) from 98.895%
when pulling ada71fa on tomwhite:chunk-ndim
into 69ee0e8 on sgkit-dev:main.

Copy link
Contributor

@jeromekelleher jeromekelleher left a comment

Choose a reason for hiding this comment

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

Good catch, thanks!

@jeromekelleher jeromekelleher merged commit 02b595d into sgkit-dev:main Jul 8, 2024
10 of 11 checks passed
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.

3 participants