[Bug]: Create test data for checking TimeSeries data has same length as timestamps differently #555
Closed
3 tasks done
Labels
category: bug
errors in the code or code behavior
What happened?
When NeurodataWithoutBorders/pynwb#1538, is merged, pynwb will no longer allow the creation of TimeSeries objects where the data has a different length (of the first dimension) than the timestamps. This is used in the nwbinspector tests to create test data:
nwbinspector/tests/unit_tests/test_time_series.py
Line 154 in cf24e4b
We can create the invalid data to bypass the pynwb check by setting
_in_construct_mode=True
:Operating System
None
Python Version
3.12
Were you streaming with ROS3?
No
Package Versions
Code of Conduct
The text was updated successfully, but these errors were encountered: