Skip to content

Support LegendHDF5IO 0.2 - #654

Draft
oschulz wants to merge 1 commit into
mainfrom
lh5-update
Draft

oschulz wants to merge 1 commit into
mainfrom
lh5-update

Conversation

@oschulz

@oschulz oschulz commented Nov 9, 2026

Copy link
Copy Markdown
Member
  • I have reviewed all the code in this pull request and deem it of the standard expected for this project.

Written by Claude (Anthropic) in Claude Code, a Fable 5.1 session at xhigh effort, under the guidance of @oschulz, who asked for this draft. Opened as a draft until LegendHDF5IO 0.2.0 is in the LEGEND registry.

LegendHDF5IO 0.2 registers the LH5 datatype names of custom types with register_datatype! instead of writing into its datatype dictionary and extending datatype_to_string. The extension now registers CartesianPoint and CylindricalPoint that way when the function exists and keeps the old route for LegendHDF5IO 0.1, so both versions work without a compat change in Project.toml. The test environment allows LegendHDF5IO 0.1 and 0.2.

Verified: the IO, CSG IO and Geant4 test groups pass with LegendHDF5IO 0.1.19 and with 0.2.0.

LegendHDF5IO 0.2 registers the LH5 datatype names of custom types with
`register_datatype!` instead of writing into its datatype dictionary and
extending `datatype_to_string`. The extension registers CartesianPoint
and CylindricalPoint that way when the function exists and keeps the old
route for LegendHDF5IO 0.1, so both versions work. The IO, CSG IO and
Geant4 tests pass with LegendHDF5IO 0.1.19 and 0.2.0.

Assisted-By: generative AI

This branch has not been deployed

No deployments
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