help > Denoising Pipeline - Index Error
Showing 1-1 of 1 posts
Display:
Results per page:
Jun 26, 2026  06:06 PM | nlmprocessing
Denoising Pipeline - Index Error

Good afternoon!


 


I've been trying to run a denoising pipeline on 59 subjects, and for four subjects - and I know which ones - I keep getting this sort of index error:


ERROR DESCRIPTION:
 
Index in position 2 exceeds array bounds. Index must not exceed 26.


Error in conn_process (line 1766)
 X{nses}(:,find(ifilter{1}))=conn_filter(max(conn_get_rt(nsub,nses)),CONN_x.Preproc.filter,X{nses}(:,find(ifilter{1})));
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in conn_process (line 69)
 case {'preprocessing_gui','denoising_gui'}, conn_disp(['CONN: RUNNING DENOISING STEP']); conn_process([1.5,2,6:9],varargin{:});
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in conn (line 7927)
 conn_process('denoising_gui'); ispending=false;
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in conn_menumanager (line 125)
 feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end}); 
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CONN25.b
SPM25 + DAiSS DEM FieldMap MEEGtools
Matlab v.2025b
project: CONN25.b
storage: 38.4Gb available
 
spm @ /usr/local/spm
conn @ /usr/local/conn


 


The index that cannot be exceeded varies in 26, 31, 28, and 28. I've asked Gemini so far and tried everything it suggested - the ROIs look same size as the other subjects, the structural and functional data is fine too. Where is this error coming from and how can I fix it? It won't let the 1st-level analysis page show any Done buttons I think until this error is addressed.


Kindly help.


Thank you!


 


Sincerely,


nlmprocessing