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  

|
November 20, 2012 04:51PM
Hi, I am using afni_proc.py to generate a script. But I got this strange error that I had 14 basis functions but 11 stim classes. However even by reading the error output below you can tell that the number of both basis functions and stim classes are 11. Does anyone have some clue on this?

Thanks

Mingbo

-- tcat: reps is now 1255
-- volreg: base/sub indices are 0, 2
++ updating polort to 17, from run len 2510.0 s
** error: have 14 basis functions but 11 stim classes
** script creation failure for block 'regress'
----------------------------------------------------------------------
** failed command (create_script):

afni_proc.py -dsets epi/epi_run1+orig. -subj_id MBC -volreg_align_to third \
-regress_stim_times run_1/direction_leftresponse.1D \
run_1/direction_rightresponse.1D run_1/direction_stimonsets.1D \
run_1/instructions.1D run_1/noresponse_stimonsets.1D \
run_1/timing_learnlongonsets.1D run_1/timing_learnmiddleonsets.1D \
run_1/timing_learnshortonsets.1D run_1/timing_longresponse.1D \
run_1/timing_shortresponse.1D run_1/timing_stimonsets.1D \
-regress_stim_labels drt_l drt_r drt_stim inst noresp time_l_l time_l_m \
time_l_s time_l time_s time_stim -regress_basis_multi 'CSPLIN(0,12,4)' \
'CSPLIN(0,12,4)' 'CSPLIN(0,12,4)' 'BLOCK(8,1)' 'CSPLIN(0,12,4)' \
'CSPLIN(0,12,4)' 'CSPLIN(0,12,4)' 'CSPLIN(0,12,4)' 'CSPLIN(0,12,4)' \
'CSPLIN(0,12,4)' 'CSPLIN(0,12,4)' -regress_apply_mot_type demean deriv \
-regress_run_clustsim no -regress_censor_motion 0.5 -copy_anat \
aant/skull_strip_out_anat1+orig -regress_compute_fitts -blocks tshift \
volreg despike mask scale regress -regress_opts_3dD -bout -jobs 2 \
-gltsym 'SYM: +time_stim -drt_stim' -glt_label 1 time_vs_drt -script \
collapse_trials.tcsh
Subject Author Posted

mysterious error from afni_proc.py

Mingbo November 20, 2012 04:51PM

Re: mysterious error from afni_proc.py

Mingbo November 20, 2012 05:11PM

Re: mysterious error from afni_proc.py

rick reynolds November 20, 2012 09:11PM