AFNI version info (afni -ver
): 23.3.14
Dear AFNI developers:
I find an error in 3dttest++. When using 3dttest++ without ETAC option on, the prefix can receive an absolute path. But when ETAC option on, the program will add a local path prefix before the prefix provided by users. This is a example:
etacdir=/media/renyiyuan/Portable_Disk/Portable_Data/fMRI/Main/NIFTI/derivatives/seed_based/raphe_d/ETAC
3dttest++ -prefix $etacdir/exp_change \
-setA ${exp_2[@]} -setB ${exp_1[@]} -paired \
-labelA exp_2 -labelB exp_1 \
-ETAC -ETAC_blur 6 \
-ETAC_opt pthr=0.1,0.05 \
-mask ${group_mask} |& tee $etacdir/exp_change.log
After running this script, the fist fatal error you will encounter is
unable to open file .//media/renyiyuan/Portable_Disk/Portable_Data/fMRI/Main/NIFTI/derivatives/seed_based/raphe_d/ETAC/exp_change.0000.sdat for output
It is obvious that the program will add a "./" before the path. I have simplified the problem. If adding "prefix_clustsim" and "tempdir", the problem will be complicated. But I think the main cause is what I show in code.