Skip to content

Fix iterator failures with h5py 3.16 #1231

Merged
rpm4 merged 6 commits into
masterfrom
hdf5-inheritance
Mar 13, 2026
Merged

Fix iterator failures with h5py 3.16 #1231
rpm4 merged 6 commits into
masterfrom
hdf5-inheritance

Conversation

@ddkohler

@ddkohler ddkohler commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Changes to work with h5py 3.16.

In this fix, we point iterators that yield WrightTools class instances (Collection, Data, Channel, etc.) to run through wt.Group.__getitem__, which wraps the h5py objects into our objects.

Changes

Checklist

  • added tests, if applicable
  • updated documentation, if applicable
  • updated CHANGELOG.md
  • tests pass

@ddkohler ddkohler changed the title [WIP] fix h5py inheritance issues Fix h5py inheritance issues Mar 13, 2026
@ddkohler ddkohler changed the title Fix h5py inheritance issues Fix iterator failures with h5py 3.16 Mar 13, 2026
@ddkohler ddkohler marked this pull request as ready for review March 13, 2026 03:33
@rpm4 rpm4 merged commit 4603f89 into master Mar 13, 2026
9 checks passed
@rpm4 rpm4 deleted the hdf5-inheritance branch March 13, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

tests fail: not reading some wt5 attrs

2 participants