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  

|
March 26, 2021 04:10PM
Hi AFNI users,

I hope that this message finds you doing well! I have what I hope is a simple question. I am trying to run 3dttest++ including covariates. However, I am getting a fatal error when the script hits the -covariates flag. I've attached my 3dttest++ code, covariates table, and the associated error to this post. If you have any advice on what I may be doing wrong, I would very much appreciate your thoughts!

Thank you so much!

-Katie

3dttest++ code:
3dttest++  -setA setlistA                                    \
             s02 $dirA/NAV_002/NAV_002.results/NAV_002.results.incl-instruc.final/stats.NAV_002_REML+tlrc'[1]' \
             s05 $dirA/NAV_005/NAV_005.results/NAV_005.results.incl-instruc.final/stats.NAV_005_REML+tlrc'[1]' \
             s07 $dirA/NAV_007/NAV_007.results/NAV_007.results.incl-instruc.final/stats.NAV_007_REML+tlrc'[1]' \
             s08 $dirA/NAV_008/NAV_008.results/NAV_008.results.incl-instruc.final/stats.NAV_008_REML+tlrc'[1]' \
             s09 $dirA/NAV_009/NAV_009.results/NAV_009.results.incl-instruc.final/stats.NAV_009_REML+tlrc'[1]' \
             s10 $dirA/NAV_010/NAV_010.results/NAV_010.results.incl-instruc.final/stats.NAV_010_REML+tlrc'[1]' \
             s13 $dirA/NAV_013/NAV_013.results/NAV_013.results.incl-instruc.final/stats.NAV_013_REML+tlrc'[1]' \
             s17 $dirA/NAV_017/NAV_017.results/NAV_017.results.incl-instruc.final/stats.NAV_017_REML+tlrc'[1]' \
             s18 $dirA/NAV_018/NAV_018.results/NAV_018.results.incl-instruc.final/stats.NAV_018_REML+tlrc'[1]' \
             s24 $dirA/NAV_024/NAV_024.results/NAV_024.results.incl-instruc.final/stats.NAV_024_REML+tlrc'[1]' \
             s28 $dirA/NAV_028/NAV_028.results/NAV_028.results.incl-instruc.final/stats.NAV_028_REML+tlrc'[1]' \
             s38 $dirA/NAV_038/NAV_038.results/NAV_038.results.incl-instruc.final/stats.NAV_038_REML+tlrc'[1]' \
             s39 $dirA/NAV_039/NAV_039.results/NAV_039.results.incl-instruc.final/stats.NAV_039_REML+tlrc'[1]' \
             s40 $dirA/NAV_040/NAV_040.results/NAV_040.results.incl-instruc.final/stats.NAV_040_REML+tlrc'[1]' \
             s53 $dirA/NAV_053/NAV_053.results/NAV_053.results.incl-instruc.final/stats.NAV_053_REML+tlrc'[1]' \
             s55 $dirA/NAV_055/NAV_055.results/NAV_055.results.incl-instruc.final/stats.NAV_055_REML+tlrc'[1]' \
             s56 $dirA/NAV_056/NAV_056.results/NAV_056.results.incl-instruc.final/stats.NAV_056_REML+tlrc'[1]' \
             s58 $dirA/NAV_058/NAV_058.results/NAV_058.results.incl-instruc.final/stats.NAV_058_REML+tlrc'[1]' \
             s64 $dirA/NAV_064/NAV_064.results/NAV_064.results.incl-instruc.final/stats.NAV_064_REML+tlrc'[1]' \
             s65 $dirA/NAV_065/NAV_065.results/NAV_065.results.incl-instruc.final/stats.NAV_065_REML+tlrc'[1]' \
             s69 $dirA/NAV_069/NAV_069.results/NAV_069.results.incl-instruc.final/stats.NAV_069_REML+tlrc'[1]' \
             s74 $dirA/NAV_074/NAV_074.results/NAV_074.results.incl-instruc.final/stats.NAV_074_REML+tlrc'[1]' \
          -mask $mask_dset                                  \
	   -covariates COVAR_FILE2.txt -center NONE  \
          -ETAC 16                                          \
          -ETAC_blur 0 3                                  \
          -ETAC_opt NN=2:sid=2:hpow=2:pthr=0.01:name=etac3

Covariates table:
subj age_ixt sex vo2max_raw
s02 63.00 -1 33.45
s05 73.00 -1 24.47
s07 62.00 -1 39.52
s08 60.00 -1 21.18
s09 67.00 1 29.94
s10 71.00 -1 17.68
s13 65.00 -1 30.97
s17 70.00 -1 20.21
s18 60.00 -1 24.49
s24 69.00 -1 33.47
s28 65.00 1 36.87
s38 73.00 1 40.99
s39 66.00 -1 35.84
s40 60.00 -1 35.21
s53 70.00 -1 27.00
s55 63.00 -1 30.59
s56 76.00 -1 35.91
s58 73.00 -1 23.44
s64 71.00 -1 29.72
s65 80.00 1 30.93
s69 62.00 1 40.52
s74 70.00 1 33.92

And associated error:
++ 3dttest++: AFNI version=AFNI_19.1.00 (Apr  5 2019) [64-bit]
++ Authored by: Zhark++
++ option -setA :: processing as LONG form (label label dset label dset ...)
++ have 22 volumes corresponding to option '-setA'
++ 568795 voxels in -mask dataset
[7m** ERROR:[0m Table: can't open file
[7m** ERROR:[0m Can't read table from -covariates file 'COVAR_FILE2.txt'
[7m** ERROR:[0m Try re-running this program with the extra option -DAFNI_DEBUG_TABLE=YES
[7m** FATAL ERROR:[0m Can't continue after the above error!
Subject Author Posted

3dttest++ fatal error - covariate table

klkern March 26, 2021 04:10PM