This is the example naming for the files within the dataset:
sub-002_ses-01_task-act_run-1_eeg
Note there, that for run the 1 is specified. As in my code above I have specified run=1, so theoretically it should work. However mne-bids seems to add an automatic-zero padding for the run number and expects:
sub-002_ses-01_task-act_run-01_eeg
Now my questions is whether I have to rename all data within the dataset or do the filename encoding by myself. Or maybe there is an option were I can disable the zero padding.
Hello @carlo711 and welcome to the forum!
To me this seems like a problem we need to fix in MNE-BIDS. I don’t think there’s currently a workaround to avoid this problem, sorry.
You definitely shouldn’t have to rename your files.