-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix zarr upstream tests #9927
Fix zarr upstream tests #9927
Conversation
8d08ac0
to
6e0d521
Compare
Co-authored-by: Matthew Iannucci <[email protected]>
6e0d521
to
4a85fcd
Compare
encoding_key = "compressors" if has_zarr_v3 else "compressor" | ||
comp = Blosc(cname="zstd", clevel=3, shuffle=2) | ||
encoding = {encoding_key: (comp,) if has_zarr_v3 else comp} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all feels a bit silly. "compressors" instead of "compressor" and now a tuple instead of a single object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we had to pluralize it to make things work with zarr v3. fwiw I proposed "compression" as an arity-ambiguous version, but that wasn't popular enough
33d5992
to
4b5def7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this @dcherian!
Apparently I was over-eager in clicking the release button on Friday :(
whats-new.rst
api.rst
cc @d-v-b