Error : Index in position 3 is invalid.

31 views
Skip to first unread message

Matthieu Doyen

unread,
Nov 28, 2022, 12:27:35 PM11/28/22
to xjView discuss group
Dear XJview experts,

I get this error when I try to generate a report : 

Type: T
df: 24
Threshold
-- p value = 1
-- intensity = -Inf
-- cluster size = 5
Number of clusters found: 1
Index in position 3 is invalid. Array indices must be positive integers or logical values.

Error in xjview>cuixuFindStructure (line 7106)
        graylevel = DB{jj}.mnilist(index(ii, 1), index(ii, 2),index(ii, 3));

Error in xjview>CallBack_reportPush (line 4612)
    [a, b] = cuixuFindStructure(tmpmni, handles.DB);
 
Error while evaluating UIControl Callback.



The strange thing is that for some of the results of this same study, I have no error and the report is well generated. 

I think that the problem comes from the coordinates of the image (and especially coordinates of significant clusters) but I don't understand why (images are in MNI space)

Thank you for your help.

Matthieu

Reply all
Reply to author
Forward
0 new messages