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 10, 2022 05:07AM
Hello, my 3dLME .txt file contains the following lines of code (this is a shorter version of my full dataset):

3dLME -prefix Example4 -jobs 24 \
-mask myMask+tlrc \
-model "cond*group" \
-ranEff '~1' \
-SS_type 3 \
-num_glt 2 \
-gltLabel 1 'neg-pos' -gltCode 1 'cond : 1*neg -1*pos' \
-gltLabel 2 'pat_neg-pos' -gltCode 2 'cond : 1*neg -1*pos group : 1*pat' \
-dataTable \
Subj cond group InputFile \
s10058 pos ctr ctlNeutral_10058_Larea11.z.nii \
s10058 neg ctr ctlStrong_10058_Larea11.z.nii \
s10210 pos ctr ctlNeutral_10210_Larea11.z.nii \
s10210 neg ctr ctlStrong_10210_Larea11.z.nii \
s14061 pos ctr ctlNeutral_14061_Larea11.z.nii \
s14061 neg ctr ctlStrong_14061_Larea11.z.nii \
s11366 pos pat ocdNeutral_11366_Larea11.z.nii \
s11366 neg pat ocdStrong_11366_Larea11.z.nii \
s18526 pos pat ocdNeutral_18526_Larea11.z.nii \
s18526 neg pat ocdStrong_18526_Larea11.z.nii \
s20718 pos pat ocdNeutral_20718_Larea11.z.nii \
s20718 neg pat ocdStrong_20718_Larea11.z.nii \
...


When running the code using tcsh -x [myfile].txt I'm receiving the following error:
3dLME -prefix Example4 -jobs 24
Error in if (len%%wd != 0) errex.AFNI(paste("The content under -dataTable is not rectangular !", :
argument is of length zero
Calls: process.LME.opts
Execution halted
-mask myMask+tlrc
-mask: Command not found.
-model cond*group
-model: Command not found.
-ranEff ~1
-ranEff: Command not found.
-SS_type 3
-SS_type: Command not found.
-num_glt 2
-num_glt: Command not found.
-gltLabel 1 pos-neg -gltCode 1 cond : 1*pos -1*neg
-gltLabel: Command not found.
-gltLabel 2 pat_pos-neg -gltCode 2 cond : 1*pos -1*neg group : 1*pat
-gltLabel: Command not found.
-dataTable
-dataTable: Command not found.
Subj cond group InputFile
Subj: Command not found.
s10058 pos ctr ctlNeutral_10058_Larea11.z.nii
s10058: Command not found.
s10058 neg ctr ctlStrong_10058_Larea11.z.nii
s10058: Command not found.
s10210 pos ctr ctlNeutral_10210_Larea11.z.nii
s10210: Command not found.
s10210 neg ctr ctlStrong_10210_Larea11.z.nii
s10210: Command not found.
s14061 pos ctr ctlNeutral_14061_Larea11.z.nii
s14061: Command not found.
s14061 neg ctr ctlStrong_14061_Larea11.z.nii
s14061: Command not found.
s11366 pos pat ocdNeutral_11366_Larea11.z.nii
s11366: Command not found.
s11366 neg pat ocdStrong_11366_Larea11.z.nii
s11366: Command not found.
s18526 pos pat ocdNeutral_18526_Larea11.z.nii
s18526: Command not found.
s18526 neg pat ocdStrong_18526_Larea11.z.nii
s18526: Command not found.
s20718 pos pat ocdNeutral_20718_Larea11.z.nii
s20718: Command not found.
s20718 neg pat ocdStrong_20718_Larea11.z.nii
s20718: Command not found.
...



I suppose the main error is that my data table is not rectangular.

To get more insight I've used file_tool -test -infile [myfile].txt which showed me I had bad backslashes. I fixed these bad backslashes using

file_tool -show_file_type -infile [old_file].txt -prefix [fixed_file].txt

However, after running the new fixed file, I'm still getting an error:

#3dLME -prefix Example4 -jobs 24 -mask myMask+tlrc -model cond*group -ranEff ~1 -SS_type 3 -num_glt 2 -gltLabel 1 neg-pos -gltCode 1 cond : 1*neg -1*pos -gltLabel 2 pat_neg-pos -gltCode 2 cond : 1*neg -1*pos group : 1*pat -dataTable Subj cond group InputFile s10058 pos ctr ctlNeutral_10058_Larea11.z.nii s10058 neg ctr ctlStrong_10058_Larea11.z.nii s10210 pos ctr ctlNeutral_10210_Larea11.z.nii s10210 neg ctr ctlStrong_10210_Larea11.z.nii s14061 pos ctr ctlNeutral_14061_Larea11.z.nii s14061 neg ctr ctlStrong_14061_Larea11.z.nii s11366 pos pat ocdNeutral_11366_Larea11.z.nii s11366 neg pat ocdStrong_11366_Larea11.z.nii s18526 pos pat ocdNeutral_18526_Larea11.z.nii s18526 neg pat ocdStrong_18526_Larea11.z.nii s20718 pos pat ocdNeutral_20718_Larea11.z.nii s20718 neg pat ocdStrong_20718_Larea11.z.nii ...

** Error:
The content under -dataTable is not rectangular ! 53 4

: Command not found.

: Command not found.


Any advice for an issue like this? Maybe I missed something else in my code? Thanks.



Edited 1 time(s). Last edit at 03/10/2022 05:11AM by leyamarz.
Subject Author Posted

3dLME Data is not rectangular error

leyamarz March 10, 2022 05:07AM

Re: 3dLME Data is not rectangular error

gang March 10, 2022 08:59AM

Re: 3dLME Data is not rectangular error

leyamarz March 11, 2022 10:09AM

Re: 3dLME Data is not rectangular error

leyamarz March 11, 2022 10:10AM

Re: 3dLME Data is not rectangular error

leyamarz March 15, 2022 03:53AM