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  

|
Robert Terwilliger
April 10, 2008 11:38AM
Dear afni board,

I am using 3dLME, Version 1.0.1, April 8, 2008. The script works fine except when I add a contrast.

I have looked at the source (3dLME.R) and can see the line where it is crashing, but I can't understand what is wrong with my model file.

Below are relevant snippets from "model.txt" and "MyOutput".

Any insight is appreciated.

Regards,

Robert Terwilliger

******************************
model.txt
******************************
Data:Volume
Output:NeutCue_alc_vs_control
MASK:group_mask+tlrc.BRIK
Model:Grp*Time
COV:
RanEf:TRUE
VarStr:
CorStr:1~Time|Subj
SS:sequential
ConNeutCue-AlcNeutCue
con*0-alc*0
Subj Grp Time InputFile
0223 alc 1 alc_0223_NeutCue_00+tlrc
0223 alc 2 alc_0223_NeutCue_01+tlrc
0223 alc 3 alc_0223_NeutCue_02+tlrc
0223 alc 4 alc_0223_NeutCue_03+tlrc
0223 alc 5 alc_0223_NeutCue_04+tlrc
0223 alc 6 alc_0223_NeutCue_05+tlrc
0223 alc 7 alc_0223_NeutCue_06+tlrc
0223 alc 8 alc_0223_NeutCue_07+tlrc
0223 alc 9 alc_0223_NeutCue_08+tlrc
0223 alc 10 alc_0223_NeutCue_09+tlrc
0223 alc 11 alc_0223_NeutCue_10+tlrc
0223 alc 12 alc_0223_NeutCue_11+tlrc
0223 alc 13 alc_0223_NeutCue_12+tlrc
0300 alc 1 alc_0300_NeutCue_00+tlrc
0300 alc 2 alc_0300_NeutCue_01+tlrc
0300 alc 3 alc_0300_NeutCue_02+tlrc
0300 alc 4 alc_0300_NeutCue_03+tlrc
0300 alc 5 alc_0300_NeutCue_04+tlrc
0300 alc 6 alc_0300_NeutCue_05+tlrc
0300 alc 7 alc_0300_NeutCue_06+tlrc
0300 alc 8 alc_0300_NeutCue_07+tlrc
0300 alc 9 alc_0300_NeutCue_08+tlrc
0300 alc 10 alc_0300_NeutCue_09+tlrc
0300 alc 11 alc_0300_NeutCue_10+tlrc
0300 alc 12 alc_0300_NeutCue_11+tlrc
0300 alc 13 alc_0300_NeutCue_12+tlrc
1319 con 1 con_1319_NeutCue_00+tlrc
1319 con 2 con_1319_NeutCue_01+tlrc
1319 con 3 con_1319_NeutCue_02+tlrc
1319 con 4 con_1319_NeutCue_03+tlrc
1319 con 5 con_1319_NeutCue_04+tlrc
1319 con 6 con_1319_NeutCue_05+tlrc
1319 con 7 con_1319_NeutCue_06+tlrc
1319 con 8 con_1319_NeutCue_07+tlrc
1319 con 9 con_1319_NeutCue_08+tlrc
1319 con 10 con_1319_NeutCue_09+tlrc
1319 con 11 con_1319_NeutCue_10+tlrc
1319 con 12 con_1319_NeutCue_11+tlrc
1319 con 13 con_1319_NeutCue_12+tlrc
1432 con 1 con_1432_NeutCue_00+tlrc
1432 con 2 con_1432_NeutCue_01+tlrc
1432 con 3 con_1432_NeutCue_02+tlrc
1432 con 4 con_1432_NeutCue_03+tlrc
1432 con 5 con_1432_NeutCue_04+tlrc
1432 con 6 con_1432_NeutCue_05+tlrc
1432 con 7 con_1432_NeutCue_06+tlrc
1432 con 8 con_1432_NeutCue_07+tlrc
1432 con 9 con_1432_NeutCue_08+tlrc
1432 con 10 con_1432_NeutCue_09+tlrc
1432 con 11 con_1432_NeutCue_10+tlrc
1432 con 12 con_1432_NeutCue_11+tlrc
1432 con 13 con_1432_NeutCue_12+tlrc

*****************************
MyOutput
*****************************
............
+ names(sublist) <- names(Model)[2:(nfixed+1)]
+ clist[[n]][[ii]] <- sublist
+ }
+ }
+ }
Read 1 record
Read 2 records
Error in names(sublist) <- names(Model)[2:(nfixed + 1)] :
'names' attribute [2] must be the same length as the vector [1]
Execution halted
Subject Author Posted

3dLME error

Robert Terwilliger April 10, 2008 11:38AM

Re: 3dLME error

Gang Chen April 10, 2008 01:00PM

Re: 3dLME error

Robert Terwilliger April 10, 2008 01:32PM

Re: 3dLME error

Gang Chen April 10, 2008 03:02PM

Re: 3dLME error

Robert Terwilliger April 10, 2008 04:23PM

Re: 3dLME error

Gang Chen April 10, 2008 04:44PM

Re: 3dLME error

Robert Terwilliger April 10, 2008 05:54PM

Re: 3dLME error

Gang Chen April 10, 2008 09:42PM