[Bug]: Shape should be validated on write #1190
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?
keywords
is a 1D dataset ofNWBFile
.NWBFile
does not validate the shape of some array arguments in__init__
. In cases like this where shape validation is not happening in init/docval, it should be validated on write/build.Related: NeurodataWithoutBorders/pynwb#1288
Steps to Reproduce
Output:
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: