Skip to content

Allow LegendHDF5IO 0.2 - #35

Draft
oschulz wants to merge 3 commits into
mainfrom
lh5-0.2-compat
Draft

oschulz wants to merge 3 commits into
mainfrom
lh5-0.2-compat

Conversation

@oschulz

@oschulz oschulz commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor
  • 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 PR.

Allows LegendHDF5IO 0.2, released today, alongside 0.1. One code change was needed: log_p0_nominal required a TypedTables Table for the simulation steps but only reads their xloc, yloc, zloc and edep columns, and LegendHDF5IO 0.2 returns h5["stp/..."][:] as a StructArray. The argument now accepts any table with those columns, as the docstring already described.

Since LegendDataManagement 0.7 is the release that requires LegendHDF5IO 0.2, its bound widens to "0.6.10, 0.7" at the same time. Until LegendDataManagement 0.7.0 is registered (legend-exp/LegendDataManagement.jl#247), the resolver keeps picking LegendHDF5IO 0.1.19, so CI here runs the old combination.

Verified locally: all 181 tests pass with LegendHDF5IO 0.1.19 and LegendDataManagement 0.6.26, and with LegendHDF5IO 0.2.0 and LegendDataManagement 0.7.0 from its branch. Version bumped to 0.3.1 for a patch release.

The function only reads the xloc, yloc, zloc and edep columns, but required
a TypedTables Table. LegendHDF5IO 0.2 returns the steps read with
`h5["stp/..."][:]` as a StructArray, which now works as the docstring
example shows.

Assisted-By: generative AI
LegendDataManagement 0.7 is the release that requires LegendHDF5IO 0.2,
so both bounds widen together. The tests pass with LegendHDF5IO 0.1.19
and LegendDataManagement 0.6.26 as well as with 0.2.0 and 0.7.0.

Assisted-By: generative AI
@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.11%. Comparing base (1c6861b) to head (0017cee).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage   46.11%   46.11%           
=======================================
  Files          11       11           
  Lines         360      360           
=======================================
  Hits          166      166           
  Misses        194      194           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@oschulz
oschulz marked this pull request as draft November 12, 2026 10:45
@oschulz

oschulz commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Blocked by legend-exp/LegendDataManagement.jl#247

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