We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
data = np.arange(1000).reshape(10, 10, 10) name = 'raw' store = FSStore('/tmp/test.zr', key_separator='/', auto_mkdir=True) f = open_group(store, mode='w') f.create_dataset(name, data=data, chunks=(5, 5, 5), compressor=None) h = open_group(store, mode='r') # check below fails because h[name][:] will be all zeros np.testing.assert_array_equal(h[name][:], data)
If an nested Zarr array is read in using an FSStore object initialized with key_separator='/', all array entries are reported as zeros.
key_separator='/'
This seems to be because the _chunk_key attribute of zarr.core.Array assumes that '.' is the separator
_chunk_key
zarr.core.Array
'2.7.1.dev2' (current master branch)
I will make a PR addressing this now
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Minimal, reproducible code sample, a copy-pastable example if possible
Problem description
If an nested Zarr array is read in using an FSStore object initialized with
key_separator='/'
, all array entries are reported as zeros.This seems to be because the
_chunk_key
attribute ofzarr.core.Array
assumes that '.' is the separatorVersion and installation information
'2.7.1.dev2' (current master branch)
I will make a PR addressing this now
The text was updated successfully, but these errors were encountered: