[Bug]: Cannot write added attributes to dataset in new data type subtype #1213
Labels
category: bug
errors in the code or code behavior
priority: medium
non-critical problem and/or affecting only a small set of users
Milestone
What happened?
See NeurodataWithoutBorders/pynwb#1992 for an example.
At this point in HDMF's ObjectMapper hdmf-dev/hdmf@26d584c/src/hdmf/build/objectmapper.py#L1107, the spec does not contain the new attributes, so new attributes are not written. The spec object has the updated "doc" for "data" from the
SpatialSeries
type (as opposed to the "doc" for "data" from theTimeSeries
type) but it does not contain the new "bounds" attribute introduced inSpatialSeries
.The issue appears to be due to resolution of the spec as it is being read.
Steps to Reproduce
Traceback
No response
Operating System
macOS
Python Executable
Conda
Python Version
3.12
Package Versions
No response
The text was updated successfully, but these errors were encountered: