[Bug]: Inaccurate critical error for 2D SpikeEventSeries #550
Labels
category: bug
errors in the code or code behavior
priority: medium
non-critical problem and/or affecting only a small set of NWB users
What happened?
According to the nwb-schema, a SpikeEventSeries can have dimensions [num events, num samples] when it contains data from a single electrode. The other option is to have dimensions [num events, num channels, num samples] if it has data from multiple electrodes.
However if an NWB file contains a 2D SpikeEventSeries, the inspector will return a critical error that the second dimension does not match the length of electrodes:
I think the check should be updated to warn about potentially transposed data only if a SpikeEventSeries has 3 dimensions.
Operating System
macOS
Python Version
None
Were you streaming with ROS3?
None
Package Versions
Code of Conduct
The text was updated successfully, but these errors were encountered: