Hello,
I recently updated afni to make use of the pediatric template, and it looks like my afni_proc.py is breaking. Here's the output:
===
#Script is running (command trimmed):
3dNwarpApply -nwarp ./anat.aff.qw_WARP.nii -master ./base.nii -affter anat.aff.Xat.1D -source /XXXpathXXX/mprage_unif_ns+orig -prefix ./mprage_unif_ns.aw.nii
++ 3dNwarpApply: AFNI version=AFNI_2011_12_21_1014 (Nov 5 2014) [64-bit]
++ Authored by: Zhark the Warped
++ Reading -nwarp
** ERROR: Mysteriously Unknown option '-affter'
Here's hoping these excerpts from '3dNwarpApply -help' enlighten:
'-affter aaa = *** THIS OPTION IS NO LONGER AVAILABLE [22 Oct 2014] ***'
'-master mmm = 'mmm is the name of the master dataset.'
'-ainterp jjj = This option lets you specify a different interpolation mode'
===
Clearly -affter shouldn't be used anymore. What part of my afni_proc is causing that flag to be used? Here are the relevant parameters for that block.
===
afni_proc.py -subj_id $subj \
-dsets ${subj_dir}/rest+orig.HEAD \
-script $subj_dir/rest.proc.compCor.$subj \
-copy_anat $subj_dir/mprage+orig \
-out_dir $subj_dir/$subj.rest.compCor.results \
-blocks despike tshift align tlrc volreg blur mask regress \
-tcat_remove_first_trs 3 \
-tlrc_NL_warp \
-tlrc_base HaskinsPeds_NL_template1.0+tlrc \
-anat_uniform_method unifize \
-volreg_tlrc_warp \
-volreg_align_e2a \
-mask_segment_anat yes \
===
Thanks,
Gustavo