Closed cll008 closed 3 years ago
Thanks Clement. I think eInfo can be built if user select replacing EEG.event with bids events.tsv. Otherwise it can be empty.
Also, why are we doing task(6:end)?
EEG.task = task(6:end); %TODO
Hi Young, handling eInfo like that makes sense to me too.
I wanted to drop the task-
prefix for EEG.task (in case we run into any task-task-xyz issues), but thought it better to keep the task
variable throughout the script consistent with task = ['task-' bidsFolder]
as well as the std_editset.m
task
input which is formatted as task-xyz
.
I see, thanks Clement. The code looks good to me now. Merged and closed this PR.
Here imported data will have a EEG.BIDS structure.
EEG.task
has also been added and is used for the filename when exporting.I don't see a good way to build eInfo on import, any suggestions (or maybe this is not necessary)?