Skip to content

Derive the NGFF axis type from the axis name (0.5.0) - #36

Merged
trissim merged 2 commits into
mainfrom
refactor/G2-ngff-axis-types
Oct 10, 2026
Merged

trissim merged 2 commits into
mainfrom
refactor/G2-ngff-axis-types

Conversation

@trissim

@trissim trissim commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

OME-NGFF fixes the type of each axis name (t time, c channel, z/y/x space), so ZarrBatchAxis no longer takes an axis_type: NGFF_AXIS_TYPES declares the pairing once and ngff_declaration/ngff_axes derive from it. Array axes must be NGFF axes; HCS image axes (field) carry no NGFF type, which they never wrote.

Breaking API change, so 0.5.0. Lockstep with OpenHCS surface G2 (OpenHCSDev/openhcs, branch refactor/G2-derived-member-references), which bumps its pin to polystore>=0.5.0,<0.6 and stops restating the type beside each axis name.

Tests: tests/test_zarr_batch.py and tests/test_zarr_backend.py, 93 passed locally.

🤖 Generated with Claude Code

ZarrBatchAxis no longer takes an axis type: OME-NGFF fixes the type of
each axis name (t time, c channel, z/y/x space), so applications restated
it beside every name. Array axes must be NGFF axes; HCS image axes carry
no NGFF type. Breaking: 0.5.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 10, 2026 19:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trissim
trissim merged commit 473c3da into main Oct 10, 2026
11 checks passed
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