Skip to content

STYLE: Factor out itkOMEZarrNGFFCommon.h (supersedes #65) - #82

Open
hjmjohnson wants to merge 4 commits into
InsightSoftwareConsortium:mainfrom
hjmjohnson:takeover-65-common
Open

hjmjohnson wants to merge 4 commits into
InsightSoftwareConsortium:mainfrom
hjmjohnson:takeover-65-common

Conversation

@hjmjohnson

@hjmjohnson hjmjohnson commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Moves the OME-Zarr axis type into its own header, itkOMEZarrNGFFCommon.h, so a future TransformIO can share it with the ImageIO. This takes over the reviewable first commit of #65 by Matt McCormick; the WIP: TransformIO skeleton commit is left out. The branch includes the commits of #78, which it builds on.

What changes
  • itkOMEZarrNGFFCommon.h holds the axis struct, and the ImageIO header includes it.
  • API change: OMEZarrNGFFAxis is renamed OMEZarrAxis, and the new header is wrapped for Python through wrapping/itkOMEZarrNGFFCommon.wrap, so the Python class becomes itk.OMEZarrAxis. The only uses in this repository are AxesCollectionType and the code in ReadImageInformation that builds the axes.
  • The standalone build's minimum moves from find_package(ITK 5.0) to find_package(ITK 5.4), which matches the ITK 5.4.7 pins from COMP: Move the macOS CI jobs to macos-15 and macos-15-intel #78.
  • A small fixup corrects the header's \class comment, which still named the old struct, and removes a doubled blank line.
Testing

Built and ran locally on macOS arm64 (Release) against a TensorStore updated to v0.1.86, not the pin currently on main: the module builds and its 15 tests pass. Not built against the 2023 TensorStore pin on main; CI is the check for that. The Python wrapping was not built locally. The changed files are clean under the repository's clang-format.

AI assistance
  • Tool: Claude Code (claude-opus-5-5)
  • Role: applied the refactor commit to the current main, fixed the stale doc comment, checked for leftover uses of the old name, and built and ran the tests. A person reviewed the result.

GitHub retired the macos-13 runner image and retires macos-14 on
November 2, 2026 (actions/runner-images#13518). Use macos-15-intel and
macos-15 with Xcode 16.2, matching ITKRemoteModuleBuildTestPackageAction;
the Xcode 14.3.1 and 15.0.1 selections do not exist on those images.

Xcode 16 reports new ranlib and ld warnings for the bundled third-party
libraries, and the dashboard script fails on any warning, so add them to
the warning exceptions.
hjmjohnson and others added 3 commits November 3, 2026 15:51
The prebuilt ITK 5.4.0 Python build that the macOS wheel jobs download
was made on Xcode 15.0.1, and its build.ninja names that SDK's
libiconv.tbd, which the macos-15 image does not have. The 5.4.7 build
and ITKPythonPackage scripts exist, and later 5.4 releases build with
Xcode 16.2 in ITKRemoteModuleBuildTestPackageAction, so move the ITK
checkout, the wheel build, and the packaging scripts together.

The 5.4.7 wheels cover Python 3.9 to 3.11 only, so drop 3.8 from the
Linux and Windows wheel matrices, remove the macOS steps that skipped
3.8, and require Python 3.9.
GitHub is forcing the Node 20 actions onto Node 24. Use the versions that
ITKRemoteModuleBuildTestPackageAction uses for checkout, setup-python,
get-cmake, upload-artifact, and download-artifact.
For re-use across ImageIO and TransformIO.

OMEZarrNGFFAxis is renamed to OMEZarrAxis for brevity. Also, what was
previously ambigiously ome-zarr-ngff is now OME-Zarr.
@hjmjohnson
hjmjohnson marked this pull request as ready for review November 13, 2026 18:39
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