-
Notifications
You must be signed in to change notification settings - Fork 30
add support for 0-dimensional arrays/scalars #117
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
Conversation
Only non-backed reading works currently. This requires JuliaIO/Zarr.jl#116 and JuliaIO/Zarr.jl#117
|
A few questions. Why is the single chunk named "0" for 0-dimensional arrays? Is that part of the Zarr spec somewhere? Also, could the scalar value be stored Base64 encoded in the array fill value, and then not have any chunks? |
|
I have to admit the spec is somewhat ambiguous with regard to zero-dimensional arrays, but the Python reference implementation has hardcoded chunk 0, but otherwise treats zero-dimensional arrays as any other array, so I don't think the value is ever stored in the fill value. |
nhz2
left a comment
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.
LGTM
|
Thanks a lot and sorry for taking so long to review. Make sure to ping me next time if there is no reaction. |
Pull Request Test Coverage Report for Build 4853403590Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
1 similar comment
Pull Request Test Coverage Report for Build 4853403590Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Squashed commit of the following: commit 649aa0a Author: Ilia Kats <ilia-kats@gmx.net> Date: Tue Aug 26 15:11:46 2025 +0200 enable unit tests for Zarr and make them pass commit 8ed25ed Author: Ilia Kats <ilia-kats@gmx.net> Date: Mon Aug 25 18:17:58 2025 +0200 make tests pass again commit 17bb1b2 Author: Ilia Kats <ilia-kats@gmx.net> Date: Mon Aug 25 16:09:11 2025 +0200 update JuliaFormatter config and reformat everything commit a702865 Author: Ilia Kats <ilia-kats@gmx.net> Date: Mon Aug 25 16:07:06 2025 +0200 implement support for writing Zarr files commit db9abf9 Merge: ef4d948 eefb2c6 Author: Ilia Kats <ilia-kats@gmx.net> Date: Fri Aug 22 15:20:40 2025 +0200 Merge branch 'main' into zarr commit ef4d948 Author: Ilia Kats <ilia-kats@gmx.net> Date: Fri Apr 28 15:00:31 2023 +0200 split reading into separate functions for hdf5 and zarr commit 22bde93 Author: Ilia Kats <ilia-kats@gmx.net> Date: Fri Apr 28 14:19:33 2023 +0200 Zarr for mudata, some bugfixes for backed storage commit c61faba Author: Ilia Kats <ilia-kats@gmx.net> Date: Fri Apr 28 13:35:12 2023 +0200 initial Zarr-backed AnnData support commit 735cd1a Author: Ilia Kats <ilia-kats@gmx.net> Date: Fri Apr 28 10:09:29 2023 +0200 add basic Zarr support Only non-backed reading works currently. This requires JuliaIO/Zarr.jl#116 and JuliaIO/Zarr.jl#117
No description provided.