Found a potential issue in types.core.TimeIntervals that could do with a warning/check. Using this to set trial details will accept trial definitions with unequal lengths e.g.:
trials = types.core.TimeIntervals( ...
...
'start_time', types.core.VectorData('data', [1:1000],'description','start time of trial'),...
'stop_time', types.core.VectorData('data', [1:500],'description','end time of trial'),...
);
This will export fine but will not load trials out when imported
Found a potential issue in types.core.TimeIntervals that could do with a warning/check. Using this to set trial details will accept trial definitions with unequal lengths e.g.:
trials = types.core.TimeIntervals( ... ... 'start_time', types.core.VectorData('data', [1:1000],'description','start time of trial'),... 'stop_time', types.core.VectorData('data', [1:500],'description','end time of trial'),... );
This will export fine but will not load trials out when imported