That seemed to get things moving. I used a concatened version of the motions files + your edits and Afni_proc.py finally ran and generated a script. This would start to run but I ran into two problems:
1. Its chokes when compiling the badpass regressors because my runs are different lengths see error below. So I altered generated proc.SUBJ file to use
cat rather then
1dcat. Seemed to work, but let me know if there is an issue with this
1dcat bpass.r01.1D bpass.r02.1D bpass.r03.1D bpass.r04.1D bpass.r05.1D bpass.r06.1D
** FATAL ERROR: Input file bpass.r04.1D doesn't match first file bpass.r01.1D in length!
** Program compile date = Jun 10 2014
2. It is calculating stim_times in a strange way since when running I get dozens of lines of this and the regression seems to stall out.
WARNING: -stim_file 9: file length is 5490, longer than expected 915
WARNING: -stim_file 10: file length is 5490, longer than expected 915
WARNING: -stim_file 11: file length is 5490, longer than expected 915
WARNING: -stim_file 12: file length is 5490, longer than expected 915
etc......
This is an example of stimfile. Each of these is global onset time of strong condition event. The single stim file contains the times for all 6 scans.
2.058 27.737 40.657 102.311 115.212 164.902 189.348 201.648 226.782 .... etc.. .... 2173.37 2185.51 2222.62 2272.17
~`Dane
------------------------------------------------------------------------------------------------------
current script:
afni_proc.py -dsets ${subj}_*_vr_zp4_cardnudg_e2a_FWHM+tlrc.HEAD \
-blocks scale regress \
-regress_censor_extern $censorfile/${subj}_autocensor_AC3VC_pre-moco.1D \
-regress_polort 3 \
-regress_basis 'TENT(2.5,17.5,7)' \
-regress_stim_times $stimdir/${subj}_Strong_stim4b.1D \
$stimdir/${subj}_Weak_stim4b.1D \
-regress_stim_labels 'Strg' 'Weak' \
-regress_motion_file $motiondir/${subj}_motion_all.1D \
-regress_stim_labels 'Motion' \
-regress_bandpass 0.008 0.07 \
-regress_make_cbucket yes \
-regress_errts_prefix ${subj}_prepro_app_bp07 \
Edited 1 time(s). Last edit at 07/10/2014 10:27PM by d6anders.