sccn / EEG-BIDS

23 stars 17 forks source link

possible bug at bids_export.m#L663 #114

Closed ChengtengIp closed 5 months ago

ChengtengIp commented 2 years ago

Hi,

I think there is a bug here: '_task-' char(files(iSubj).task(iRun)) should be '_task-' char(files(iSubj).task(iSet)). My study has multiple sessions, multiple tasks and multiple runs. But this line (iRun) overwrites the old task with my newtask-XX_run-XX.

Best regards, Cheng-Teng

dungscout96 commented 5 months ago

The tools can handle multiple sessions/tasks/runs. See https://github.com/sccn/bids-matlab-tools/blob/master/bids_export_example4.m. Please let us know if you still have the issue.