AFNI version info (afni -ver
): Version AFNI_21.2.06 'Nerva'
I am running into an error with the below afni_proc.py script based on AFNI example 11. I am not understanding how the line needs to be - I've tried adding yes or no, but any examples on the afni_proc.py page have the line of code exactly as in my script. Can you advise on how to fix?
Error:
** option -align_unifize_epi: param 'local' is not in: ['yes', 'no']
** failed command (get_user_opts):
#!/bin/tcsh -xef
#uses
# set subject and group identifiers
set subj = {subj}
# set data directories
set anat_dir = ../SS_Warper/$subj
set epi_dir = ../Subjects/$subj/original_data
set FS_dir = ../FreeSurfer/Subjects/$subj/SUMA
afni_proc.py \
-subj_id $subj \
-blocks despike tshift align tlrc volreg blur \
mask scale regress \
-radial_correlate_blocks tcat volreg regress \
-copy_anat $anat_dir/anatSS.$subj.nii \
-anat_has_skull no \
-anat_follower anat_w_skull anat $anat_dir/anatU.$subj.nii \
-anat_follower_ROI aaseg anat \
$FS_dir/aparc.a2009s+aseg_REN_all.nii.gz \
-anat_follower_ROI aeseg epi \
$FS_dir/aparc.a2009s+aseg_REN_all.nii.gz \
-anat_follower_ROI FSvent epi $FS_dir/fs_ap_latvent.nii.gz \
-anat_follower_ROI FSWe epi $FS_dir/fs_ap_wm.nii.gz \
-anat_follower_erode FSvent FSWe \
-dsets $epi_dir/pb00.$subj.fMRI.RS.nii \
-tcat_remove_first_trs 0 \
-align_unifize_epi local \
-align_opts_aea -cost lpc+ZZ \
-giant_move \
-check_flip \
-tlrc_base /usr/bin/abin/MNI152_2009_template_SSW.nii.gz \
-tlrc_NL_warp \
-tlrc_NL_warped_dsets $anat_dir/anatQQ.$subj.nii anatQQ.FT.aff12.1D \
$anat_dir/anatQQ.$subj_WARP.nii \
-volreg_align_to MIN_OUTLIER \
-volreg_align_e2a \
-volreg_tlrc_warp \
-blur_size 4 \
-mask_epi_anat yes \
-regress_motion_per_run \
-regress_ROI_PC FSvent 3 \
-regress_ROI_PC_per_run FSvent \
-regress_make_corr_vols aeseg FSvent \
-regress_anaticor_fast \
-regress_anaticor_label FSWe \
-regress_censor_motion 0.2 \
-regress_censor_outliers 0.05 \
-regress_apply_mot_types demean deriv \
-regress_est_blur_epits \
-regress_est_blur_errts \
-html_review_style pythonic