I am running proc py for functional data using stimulus files. In this dataset, there are two conditions (Condition A and Condition B), and three stimulus files (Stim I, Stim C, and Stim F). Firstly, I have compared Stim I and Stim C and the part of the proc py script was like below.
-regress_stim_labels I C
-gltsym ‘SYM: +I -C’
-glt_label 1 I_vs_C
After preprocessing, I ran 3dttest++ to compare between conditions (Condition A vs Condition B) using the belwo 3dttest++ script.
3dttest++ -prefix Flanker_Ex-Rest
subject 30 stats.subject30.ConditionA+tlrc’’
subject 30 stats.subject30.ConditionB+tlrc’’ \
It was processed successfully and I was able to examine the difference between conditions. Next, I wanted to compare Stim I and Stim F, so rerun the proc using the part of the script below.
-regress_stim_labels I F
-gltsym ‘SYM: +I -F’
-glt_label 1 I_vs_F \
When running 3dttest++ after preprocessing using the same script above, I had the below error message.
** ERROR: selector index 10 is out of range 0…9
** ERROR: bad sub-brick selector 
** FATAL ERROR: Option -setA: can’t open dataset ‘stats.subject1.ConditionA+tlrc’
I changed sub-brick of each subject in 3dttest++ script like below
and it was running successfully, but the data look a little bit weird compared to using sub-brick 10.
Could you please let me know why the sub-brick error occurred even after using the same proc.py script and if using sub-brick 9 instead of 10 is correct?
Thank you in advance for your help,