Closed neuromechanist closed 2 months ago
We implemented in fc0d17eb85dc415d0f2158e7d216f5d864372adf. @neuromechanist can you pull the latest change and test it out?
Seems like this issue is now resolved with the test in https://github.com/sccn/bids-matlab-tools/pull/217
The
_eeg.json
files for multi-task datasets only mention "mixed" for every task under each subject. This seems to stem from line 630 ofbids_export
, where theTaskName
is set tomixed
if there is more than one task is detected for a subject.The desired behavior should be copying the task name from
data.task
or task and run numbers from thedata.task
anddata.run
fields, respectively.An examples for this issue the HBN dataset where there are multiple tasks per subject. Here is the example of a JSON file for one of the tasks (
sub-NDARAA948VFH_task-contrastChangeDetection_run-2_eeg.json
):SCCN developers can access the files on
/qumulo/yahya/cmi_bids_R3_20