Skip to content

fix: bring back zarr#21

Open
ilan-gold wants to merge 10 commits into
scverse:mainfrom
ilan-gold:ig/zarr
Open

fix: bring back zarr#21
ilan-gold wants to merge 10 commits into
scverse:mainfrom
ilan-gold:ig/zarr

Conversation

@ilan-gold
Copy link
Copy Markdown

@ilan-gold ilan-gold commented Mar 20, 2026

I'm not sure why it was removed but this would be awesome for "data producers"! Starting out with zarr v3 is awesome and really speeds everything up downstream. If I understood why it was removed I would be happy to help out with that going forward - for example maybe making the ndarray dependency in the top level Cargo.toml might help keep everything in line?

https://annbatch.readthedocs.io/en/stable/ makes extensive use of it and we are moving the python package to writing sharded v3 data by default: scverse/anndata#2368 when zarr is requested

cc @rob-p @noamteyssier

@ilan-gold ilan-gold requested review from kaizhang and removed request for kaizhang May 14, 2026 15:14
Comment thread anndata-zarr/src/lib.rs
})
.collect();
if starts.len() == selection.ndim() {
container.cache.clear();
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was a bug because shards can become stale when writing. We have the cache with the old shards, but then write But the cache thinks its already up to date despite the newly written chunks.

@ilan-gold ilan-gold requested a review from flying-sheep May 15, 2026 11:03
Comment thread anndata-zarr/src/lib.rs Outdated
Comment thread anndata-zarr/src/lib.rs
Comment thread anndata-zarr/src/lib.rs Outdated
Comment thread anndata-test-utils/tests/tests.rs Outdated
ilan-gold and others added 2 commits May 17, 2026 09:37
@ilan-gold ilan-gold requested a review from flying-sheep May 17, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants