Skip to content

Update requirements to HDMF 5#681

Draft
rly wants to merge 1 commit intodevfrom
update-hdmf-5
Draft

Update requirements to HDMF 5#681
rly wants to merge 1 commit intodevfrom
update-hdmf-5

Conversation

@rly
Copy link
Copy Markdown
Contributor

@rly rly commented Mar 18, 2026

HDMF 5 added constructor-time validation for DynamicTableRegion that raises IndexError for out-of-bounds indices. Pass validate_data=False in tests that intentionally create invalid DynamicTableRegion objects to test the inspector's own validation checks.

Closes #675

Note that pynwb does not yet support HDMF 5 so the dependencies cannot yet be resolved except in local installations where tests pass. This is a WIP until the next pynwb release.

HDMF 5 added constructor-time validation for DynamicTableRegion that
raises IndexError for out-of-bounds indices. Pass validate_data=False
in tests that intentionally create invalid DynamicTableRegion objects
to test the inspector's own validation checks.

Closes #675

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Compatibility with HDMF 5: DynamicTableRegion constructor validation breaks tests

1 participant