bids-matlab-tools
bids-matlab-tools copied to clipboard
Prompt throws an error when there are files are in cell
If the file name is in a cell (instead of a char array), which is the case for multi-run or multi-task scenarios, this print line will throw an error because it is expecting a string but gets a cell instead. I commented it out and things worked fine. Probably making nesting fileIn in char would resolve it: fprintf('Processing file %s\n', char(fileIn));
https://github.com/sccn/EEG-BIDS/blob/25acddb37886508d41d49438710b79e0c5ae2ffb/bids_export.m#L835