-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
I'm opening two logfiles (_event and _stim) consecuitively. When I only open the logfile (_event) with extraColumn, createDataDictionary nicely creates a json file with all the extra columns.
Then when I open the following, _stim, that json file for the logfile / _event got back to its default settings without the extraColumns.
Any idea why is it happening?
% create logfile with extra columns to save - BIDS
logFile.extraColumns = cfg.extraColumns;
[logFile] = saveEventsFile('open', cfg, logFile); %dummy initialise
% set the real length of columns
logFile(1).extraColumns.LHL24.length = 12;
logFile(1).extraColumns.PE4.length = 12;
% actual inititalization
logFile = saveEventsFile('open', cfg, logFile);
% create response file - used for counting button press
responseFile.extraColumns = cfg.responseExtraColumns;
responseFile = saveEventsFile('open_stim', cfg, responseFile);
Metadata
Metadata
Assignees
Labels
No labels