Closed behinger closed 4 months ago
Apology for the late response. We have now looked up task name following the _
character, which should resolve this issue. https://github.com/sccn/bids-matlab-tools/blob/4e4875978a4767791f45e9f7abc7336603213cf5/pop_importbids.m#L483 Let us know if it still causes error
Hi! Disclaimer: Maybe there is some restrictions on words in BIDS that I was missing.
I have a bids file with
...task-dualtask...
which results in an error inL306
tStart = strfind(tmpFileName,'task');
The reason being, that strfind returns two elements. I dont even think selecting the first is correct, I think
...desc-MyTaskDesc_task-dualtask
is valid BIDS tooI fixed it with:
Where I was not sure, whether
task
should betask-taskDescription
or onlytaskDescription
Should I do a pull request?
bug occured when updating from v5.X (forgot which) to v6.0