We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
metadata.to_dict()
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
# /// script # requires-python = ">=3.11" # dependencies = [ # "zarr", # ] # /// import zarr import numcodecs array = zarr.create_array( {}, shape=(10,), zarr_format=2, compressors = (numcodecs.LZMA()), dtype='uint8') print(array.metadata.to_dict()["compressor"]) # LZMA(format=1, check=-1, preset=None, filters=None) # should be {"id": "lzma", ...}
IMO the best fix is to rethink how we handle in-house vs numcodecs codecs.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
IMO the best fix is to rethink how we handle in-house vs numcodecs codecs.
The text was updated successfully, but these errors were encountered: