Skip to content

Conversation

@dstansby
Copy link
Contributor

The original goal here was to reduce duplication, by pushing the logic for deciding chunk shape down the stack from zarr.api.asynchronous.create to AsyncArray._create. In the process I discovered this fixes automatically setting chunks with most array creation routines (see the changelog entry), which I think is intended behaviour instad of just setting chunk shape to the input data array shape?

@dstansby dstansby changed the title Delegate logic for chunks to AsyncArray._create Use automatic chunking in array creation routines May 29, 2025
@dstansby dstansby requested a review from d-v-b May 30, 2025 12:17
@dstansby dstansby enabled auto-merge (squash) May 30, 2025 12:28
@dstansby dstansby merged commit 36ca497 into zarr-developers:main May 30, 2025
29 of 30 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.

2 participants