Repository navigation
Conversation
This was referenced Nov 23, 2026
Collaborator
|
Hi @Henrik-KM, thanks for the interest in ngio. I'm closing this along with #293–#296, for the same reason: the linked issues don't have an agreed solution yet, and the new-API ones in particular need a design discussion before a PR can be reviewed. If you'd like to contribute, please propose the approach on the issue first, and open a PR once there's agreement on the direction. |
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.
Fixes #281.
Decode the per-dataset scale and translation from each dataset's transforms, and keep the pyramid transforms on
meta.coordinate_transformations. Both image and label codecs write the pyramid transforms back. Unit and axis metadata updates carry them through when rebuilding metadata.This gives OME-Zarr 0.4 and 0.5 the same two-stage transform as the source file. For files with a pyramid scale,
pixel_sizenow reports the dataset scale, as proposed in the issue. OME-Zarr 0.4 · OME-Zarr 0.5The regression tests use image and label pyramids with non-unit scales and nonzero translations at both levels. They read the dataset coordinates, change metadata through the public API, and compare the stored transforms after reopening.
The full unit suite on Python 3.11 finished with 1,598 passes and 23 skips. All 75 focused tests passed on Python 3.12. The project hooks and source type check passed.
Prepared and tested with OpenAI Codex.
Checklist before merging
CHANGELOG.md