BIDS Validator Illegal Filename?

bids

#1

Hi Experts,

I am trying to pass my dataset through online BIDS validator. Although I am following the BIDS naming criteria, the validator gives me this error:
“Sub label contain an Illegal Character hyphen or underscore. Please edit the filename as per BIDS spec.”

Here is an example of the problematic file:
sub-001_task_ER_run-01_bold.nii.gz"

I am obviously missing something here, but could any one help me with fixing the issue?

Thanks!

David


#2

sub-001_task-ER_run-01_bold.nii.gz


#3

Thank you Chris! The fix worked.