You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given MATLAB's rows-last mode of input-output with NWB files, the .addRow method of DynamicTable objects should append to last dimension of multi-dimensional columns.
Upon further thought, going down this path will also mean modifying the checkConfig utility functions to ensure that:
length of row ID's matches the length of the last dimension of multidimensional columns
when checking for equal length of columns, the length of the last dimension of multidimensional columns should be considered instead of the first.
Probably there should also be some special handling of ragged multidimensional columns since it would be the last dimension that the a VectorIndex column would be intending to modify.
Given MATLAB's rows-last mode of input-output with NWB files, the .addRow method of
DynamicTable
objects should append to last dimension of multi-dimensional columns.An example:
The code above produces a 100x3x2 array for the 'randomvalues' column which is encoded into file as 3x2x100 (see below).
The correct behavior would append each 3x2 matrix to the last dimension to produce a 3x2x100 array that is encoded into file as a 100x3x2 array.
This modification would resolve the concerns brought up in the discussion of issue #360
The text was updated successfully, but these errors were encountered: