Replies: 1 comment 9 replies
-
NWB uses tables in a number of places to store metadata. DynamicTable is the base type that NWB uses to store tables. In a DynamicTable the data is stored in a column-based fashion, i.e., each column of the table is stored as a separate dataset/array. All DynamicTable objects have an The PlaneSegmention type inherits from DynamicTable, i.e., PlaneSegmention is itself a table that defines a number of additional predefined columns.
I'm not an expert in MatNWB, but based on the error message it appears that there is a mismatch between the id column and the rest of the columns in the PlaneSegmention table. Since PlaneSegmention is a table, all columns are required to have the same length. Based on the error, it seems that your CC @bendichter |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am very new to working with the NWB data format, and am currently having problems using matnwb. The long and short of it is when I run my script to create, and write the NWB file, it prints out the below error.
I am not entirely sure on what a dynamic table is, though I do understand that the script seems to be crashing as it tries to create a PlaneSegmentation object that is later used to create a dynamic table. (crash location posted below)
This code is a near exact copy of the Ophys tutorial base, except without the behavior section since we collect data from non-behaving subjects.
I went ahead and tried to use a exact copy of the Ophys tutorial (without behavior) and the same error appeared. If anyone has a idea of why this error is occurring, whether it's a incorrect argument in my script, a error in the install, or something else entirely I would appreciate the help.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions