feat: OME-ZARR sharding, default progress bars, numpydoc sweep#20
Merged
Conversation
- shard=: False (default) / True (auto ~512 MB shards) / explicit tuple, threaded through to_ome_zarr, add_pyramid, write_labels and the Imaris copy path. Sharded writes create the array explicitly and store one whole shard per task (per-chunk writes into a shard would race). - progress bars now default on for every write step (to_ome_zarr, pyramid levels, label write) and tile_process; pass progress=False to silence. - give every function a numpy-style docstring with Parameters/Returns (numpydoc 'name : type' form), per AGENTS.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Blank line after headings, language hints on code fences and list indentation, applied by the markdown linter across the guide/examples. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sharding
to_ome_zarr(..., shard=...):False(default, max compatibility),True(auto ~512 MB shards → ~100× fewer files), or an explicit shard tuple. Threaded throughadd_pyramid/write_labels/Imaris copy. Sharded writes create the array explicitly and store one whole shard per task (per-chunk writes into a shared shard would race/corrupt). Verified data round-trips; zarr-v3 only (ignored otherwise).Progress bars (default on)
Every write step shows a dask progress bar by default —
to_ome_zarr, each pyramid level, the label write, andtile_process.progress=Falsesilences.Docstrings
Every function now has a numpy-style docstring with
Parameters/Returnsin numpydocname : typeform (per AGENTS.md). AST audit: 0 functions missing.Tests: 30 passed, 1 skipped; ruff +
mkdocs --strictclean. (Separate commit applies markdownlint fixes across the guide.)🤖 Generated with Claude Code