Support nwb-schema v2.11.0 - #859
Draft
ehennestad wants to merge 2 commits into
Draft
Conversation
ehennestad
force-pushed
the
wip-support-schema-2.11.0
branch
2 times, most recently
from
August 26, 2026 17:45
da7b6e9 to
89f4b58
Compare
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ehennestad
force-pushed
the
wip-support-schema-2.11.0
branch
from
August 31, 2026 10:42
89f4b58 to
e520f51
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Add the v2.11.0 schema specifications and regenerate the neurodata type classes, so files targeting the latest schemas can be created, exported, and read with MatNWB.
Reference: NeurodataWithoutBorders/nwb-schema#710
What changed
2.11.0/ hdmf-common-schema1.10.0by default; newNwbFileobjects reportnwb_version2.11.0.Unitsgains optional attributeswaveform_mean_time_before_peak_in_ms,waveform_sd_time_before_peak_in_ms, andwaveforms_time_before_peak_in_msfor recording where the spike peak falls within stored waveforms. Thewaveform_mean_unit,waveform_sd_unit, andwaveforms_unitattributes are now writable with default'volts'instead of fixed read-only values.MeaningsTable.targetis now stored as an object reference to the describedVectorDatainstead of a soft link (hdmf-common 1.10.0 change).Implementation notes
MeaningsTable.targetnow validates viatypes.util.validateReferenceType(accepting atypes.untyped.ObjectView) and is exported withwriteAttributeinstead of the soft-link export path.Unitspeak-time attributes use the existing attribute-dependency mechanism: setting one without its parent dataset (e.g.waveforms_time_before_peak_in_mswithoutwaveforms) warns that the value will not be exported.matnwb_generateRstFilesFromCodewas rerun and produced no changes: v2.11.0 adds or removes no neurodata types, and property documentation is pulled from the class docstrings by Sphinx autodoc at build time.How to test
Output:
Todo
2.11.0/ hdmf-common-schema1.10.0Checklist
fix #XXwhereXXis the issue number?🤖 Generated with Claude Code