AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
July 22, 2014 10:47AM
Hi Rick,

I will chime in here since I am the labmate trying to integrate some files outputed from FSL with later steps from the AFNI_proc.py script (note I am running a script following the commands that is outputed by the proc.py script-not running AFNI_pro.cpy). I am guessing the crashing is due to typos and how I am changing the AFNI_proc.py script.

For example, it is crashing on the blur estimation step from AFNI_proc.py. Specifically, it crashs on the restrict to uncensored TRs, per run. The error I get is: 'if: Badly formed number.'

Below is the script I adapted from the AFNI_proc.py script:

foreach run ( 01 02 03 04 )
set trs = (`1d_tool.py -infile ${subfolder}/${subject}/${subject}.${results}/X.xmat_FNIRT.1D -show_trs_uncensored encoded -show_trs_run ${run}`)
if ( ${trs} == "" ) continue
3dFWHMx -detrend -mask ${subfolder}/${subject}/${subject}.${results}/full_mask.${subject}_RPI.nii \
${subfolder}/${subject}/${subject}.${results}/all_runs_FNIRT.${subject}.nii"[${trs}]" >> ${subfolder}/${subject}/${subject}.${results}/blur.epits_FNIRT.1D
end

I am guessing the error is due to how I am defining the variables here to run in my script...Any thoughts on what could be leading to the error?

Thanks,

Danny
Subject Author Posted

gmean.errts.unit.1D file

Emily July 17, 2014 04:27PM

Re: gmean.errts.unit.1D file

rick reynolds July 18, 2014 09:20AM

Re: gmean.errts.unit.1D file

Emily July 18, 2014 10:44AM

Re: gmean.errts.unit.1D file

rick reynolds July 18, 2014 01:15PM

Re: gmean.errts.unit.1D file

Danny July 22, 2014 10:47AM

Re: gmean.errts.unit.1D file

Peter Molfese July 22, 2014 11:50AM

Re: gmean.errts.unit.1D file

Danny July 22, 2014 12:14PM

Re: gmean.errts.unit.1D file

rick reynolds July 23, 2014 09:53AM

Re: gmean.errts.unit.1D file

Danny July 23, 2014 12:43PM