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  

|
April 08, 2021 07:56PM
Hi

please could you help me - I am try to run 3dDeconvolve (command pasted below) with -stim_times_AM2 option but getting an error reading the stimuli file (see below). I have copied the contents of the stimulus file at the end. I also tried using file_tool seeing what Rick said to someone else in another thread but didnt shed any light (pasted output below).

Thanks for any advice

Sincerely

Prerona


** ERROR: mri_read_ascii_ragged_fvect: couldn't open file stimuli/CG1362_choiceT1_sam8apr21
** FATAL ERROR: '-stim_times_AM2 1' can't read file 'stimuli/CG1362_choiceT1_sam8apr21' [nopt=17]
** Program compile date = Oct 16 2019





MY 3dDeconvolve COMMAND is:

# run the regression analysis
3dDeconvolve -input pb04.$subj.r*.scale+tlrc.HEAD \
-censor censor_${subj}_combined_2.1D \
-polort 3 \
-global_times \
-num_stimts 13 \
-jobs 3 \
-stim_times_AM2 1 stimuli/${subj}_choiceT1_sam8apr21 'BLOCK(8,1)' \
-stim_label 1 Choice \
-stim_file 2 motion_demean.1D'[0]' -stim_base 2 -stim_label 2 roll_01 \
-stim_file 3 motion_demean.1D'[1]' -stim_base 3 -stim_label 3 pitch_01 \
-stim_file 4 motion_demean.1D'[2]' -stim_base 4 -stim_label 4 yaw_01 \
-stim_file 5 motion_demean.1D'[3]' -stim_base 5 -stim_label 5 dS_01 \
-stim_file 6 motion_demean.1D'[4]' -stim_base 6 -stim_label 6 dL_01 \
-stim_file 7 motion_demean.1D'[5]' -stim_base 7 -stim_label 7 dP_01 \
-stim_file 8 motion_deriv.1D'[0]' -stim_base 8 -stim_label 8 roll_02 \
-stim_file 9 motion_deriv.1D'[1]' -stim_base 9 -stim_label 9 pitch_02 \
-stim_file 10 motion_deriv.1D'[2]' -stim_base 10 -stim_label 10 yaw_02 \
-stim_file 11 motion_deriv.1D'[3]' -stim_base 11 -stim_label 11 dS_02 \
-stim_file 12 motion_deriv.1D'[4]' -stim_base 12 -stim_label 12 dL_02 \
-stim_file 13 motion_deriv.1D'[5]' -stim_base 13 -stim_label 13 dP_02 \
-x1D_uncensored X.nocensor.xmat.1D \
-censorTR $IvDcensors \
-fout -tout -x1D X.xmat.1D -xjpeg X.jpg \
-errts errts.${subj} \
-bucket stats.$subj


stimuli/CG1362_choiceT1_sam8apr21
4*1,-1 18*1,-1 32*1,1 48*1,1 62*-1,-1 74*-1,-1 88*1,-1 102*1,-1 116*-1,-1 128*1,-1 144*1,1 156*-1,-1 172*-1,1 186*1,-1 198*1,-1 212*-1,-1 228*1,1 244*-1,-1 260*-1,1 276*-1,-1 290*1,-1 306*-1,-1 318*-1,1 330*1,-1 342*1,-1 358*-1,-1 374*-1,-1 390*-1,-1 404*1,-1 416*1,1 430*1,-1 444*-1,1 456*1,-1 470*-1,1 484*1,-1 498*1,-1 516*-1,-1 528*1,-1 540*1,-1 552*1,-1 566*-1,-1 582*-1,-1 596*1,-1 612*1,-1 626*-1,1 642*-1,-1 656*1,-1 670*1,-1 682*-1,1 696*-1,-1 710*-1,-1 726*1,-1 740*1,-1 752*-1,-1 772*-1,-1 788*1,1 800*-1,-1 812*1,-1 828*1,-1 842*-1,-1 856*-1,-1 868*1,-1 880*1,-1 894*1,-1 908*1,1 920*1,-1 934*-1,-1 948*-1,-1 964*-1,-1 978*-1,-1 992*1,-1 1008*1,-1



/regression_only$ file_tool -test -infile ../../CurrResults/SubjectsFolders/SUBJECT_FOLDERS_APR_2021/CG1362.results/stimuli/CG1362_choiceT1_sam8apr21.txt
stimuli/CG1362_choiceT1_sam8apr21.txt has 0 bad characters
stimuli/CG1362_choiceT1_sam8apr21.txt file type: UNIX
Subject Author Posted

3dDeconvolve AM2 - error reading input stimulus file

prerona April 08, 2021 07:56PM

Re: 3dDeconvolve AM2 - error reading input stimulus file

rick reynolds April 09, 2021 12:21PM

Re: 3dDeconvolve AM2 - error reading input stimulus file

prerona April 09, 2021 04:03PM

Re: 3dDeconvolve AM2 - error reading input stimulus file

rick reynolds April 09, 2021 04:54PM