Currently, the pop_importbids function either imports all tasks or just one task. This situation works most of the time, except for large and diverse datasets with short tasks, requiring multiple tasks to be pulled in for source analysis (as an example).
A possible solution is to let bidstask be a cell array as well, and also change ~isempty(contains(fileList(iFile).name, taskList)) in the filterFiles function with contains(fileList(iFile).name, taskList).
Currently, the
pop_importbids
function either imports all tasks or just one task. This situation works most of the time, except for large and diverse datasets with short tasks, requiring multiple tasks to be pulled in for source analysis (as an example).A possible solution is to let
bidstask
be a cell array as well, and also change~isempty(contains(fileList(iFile).name, taskList))
in thefilterFiles
function withcontains(fileList(iFile).name, taskList)
.This change should not brak the current workflow.