-
-
Notifications
You must be signed in to change notification settings - Fork 329
zarr 2.10.0 fails to load pre-existing nested files #840
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
Comments
Hi @abred. My apologies. I look at this almost every morning and think, "I need to write a test for this" but keep failing to do so. Is there any chance of your uploading something that will reproduce the error (e.g. by adding a very small dataset to the |
Each fixture (flat & nested) should have a version which does not include any new metadata.
I'm managed to reproduce. Please see #850 |
* Fix #840 * Add legacy tests (See #840) Each fixture (flat & nested) should have a version which does not include any new metadata. * Fix PEP8 issues * Try dropping editable installs see: pypa/pip#10573 * Handle case of store being a dict * Exclude unexpected failure from code coverage * Add 2.10.2 release notes
@abred : please let us know if the issues persist. |
Thank you for fixing this! And sorry for not getting back to you in time, I was on vacation. It's working now. |
👍 Thanks for letting us know! |
Minimal, reproducible code sample, a copy-pastable example if possible
output with zarr 2.10.0:
array([[1., 1.],
[1., 1.]])
0
output with zarr 2.3.0:
array([[1., 1.],
[1., 1.]])
6733
Problem description
With the current version of zarr (2.10.0) pre-existing zarr files using NestedDirectoryStore are all zero when read.
With an older version (tested with 2.3.0) the correct values are loaded.
Creating a new zarr file using NestedDirectoryStore on 2.10.0 and reading it works correctly.
Version and installation information
Please provide the following:
zarr.__version__
: '2.10.0'numcodecs.__version__
: '0.9.1'The text was updated successfully, but these errors were encountered: