Skip to content

feat: OME-ZARR sharding, default progress bars, numpydoc sweep#20

Merged
lguerard merged 2 commits into
mainfrom
feat/ome-zarr-sharding
Jun 23, 2026
Merged

feat: OME-ZARR sharding, default progress bars, numpydoc sweep#20
lguerard merged 2 commits into
mainfrom
feat/ome-zarr-sharding

Conversation

@lguerard

Copy link
Copy Markdown
Contributor

Sharding

to_ome_zarr(..., shard=...): False (default, max compatibility), True (auto ~512 MB shards → ~100× fewer files), or an explicit shard tuple. Threaded through add_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, and tile_process. progress=False silences.

Docstrings

Every function now has a numpy-style docstring with Parameters/Returns in numpydoc name : type form (per AGENTS.md). AST audit: 0 functions missing.

Tests: 30 passed, 1 skipped; ruff + mkdocs --strict clean. (Separate commit applies markdownlint fixes across the guide.)

🤖 Generated with Claude Code

lguerard and others added 2 commits June 23, 2026 14:14
- 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>
@lguerard lguerard merged commit 00db787 into main Jun 23, 2026
1 check passed
@lguerard lguerard deleted the feat/ome-zarr-sharding branch June 23, 2026 12:21
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.

1 participant