AFNI_proc.py epi files error

I am trying to use afni_proc.py, but am running into this error:
“missing run 1 dataset: /S03000/funcr0?+orig.” followed by “failed command (create_blocks)”

I have a HEAD and BRIK file in the S03000 folder for each run labeled “funcr01+org” and “funcr02+orig”

Below is my script:

set SID = 03000
afni_proc.py
-subj_id S$SID
-script proc.S$SID -scr_overwrite
-dsets S03000/funcr0?+orig
-copy_anat S03000/anat+orig
-blocks align volreg mask blur scale
-tcat_remove_first_trs 0
-volreg_align_to third
-volreg_align_e2a
-tlrc_base MNI_avg152T1+tlrc
-blur_size 4.0

Any help/advice would be much appreciated!

Since you are using a wildcard, it is necessary to specify complete file names so that the shell can match them. So try including .HEAD, as in:

-dsets S03000/funcr0?+orig.HEAD

  • rick