You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an NWBFile containing a LabeledEvents or TTLs type is read using PyNWB without first calling import ndx_events, then it is missing the timestamps dataset which should be inherited from Events. Interestingly, the description attribute is correctly inherited from Events.
rly
changed the title
Types are missing fields when reading file without first importing package
Containers are missing fields after reading file without first importing package
Jan 22, 2021
When an
NWBFile
containing aLabeledEvents
orTTLs
type is read using PyNWB without first callingimport ndx_events
, then it is missing thetimestamps
dataset which should be inherited fromEvents
. Interestingly, thedescription
attribute is correctly inherited fromEvents
.Example code:
Output without importing ndx_events (missing
timestamps
field):Output with importing ndx_events (contains
timestamps
field):This is likely an issue of within-spec spec resolution when handling
load_namespaces=True
and has to be addressed within HDMF.MWE to generate a file with `LabeledEvents`
The text was updated successfully, but these errors were encountered: