help
help > RE: Error importing SPM.mat file
Dec 10, 2014 01:12 AM | Alfonso Nieto-Castanon - Boston University
RE: Error importing SPM.mat file
Hi Xiaozhen
Sorry the error message was not very descriptive in this case (and thank you for sending the conn.mat file, that really helped). The issue here seems to be a lot of duplicated ROI names in your Parcels_MNI_333.nii file (most likely the reason is an incorrectly formatted associated Parcels_MNI_333.txt or Parcels_MNI_333.csv file; CONN is only finding 14 unique ROI names in there across the 333 ROIs). If you could please send me that .txt/.csv/.xls file I will quickly check if this is the problem here and tell you how to best fix it (and I will add an additional check in the toolbox to give an early and more meaningful warning/error message in the future for this sort of issues).
Best
Alfonso
Originally posted by Xiaozhen You:
Sorry the error message was not very descriptive in this case (and thank you for sending the conn.mat file, that really helped). The issue here seems to be a lot of duplicated ROI names in your Parcels_MNI_333.nii file (most likely the reason is an incorrectly formatted associated Parcels_MNI_333.txt or Parcels_MNI_333.csv file; CONN is only finding 14 unique ROI names in there across the 333 ROIs). If you could please send me that .txt/.csv/.xls file I will quickly check if this is the problem here and tell you how to best fix it (and I will add an additional check in the toolbox to give an early and more meaningful warning/error message in the future for this sort of issues).
Best
Alfonso
Originally posted by Xiaozhen You:
Hi Alfonso,
Thank you again for your timely and kind help. It did pull in the 2 sessions of SPM correctly. To follow up this thread, somehow after I use the attached script I reran the set up and denoising steps, it all went through fine and I can check the output without error, but in the first level analysis tab, it'll always give me the error asking me to rerun the setup (see below), then tried reran, but still getting the same error. Is it because the SPMcovariates that automatically imported in might be with different dimensions?
So in my SPM8 1st level design, my regressors of motion might be different across subjects if some of them have no outliers of bad volumes. would this be a problem?
ps, everytime I rerun the setup (by hit done), it takes so long if adding a new 2nd level covariate, is this normal?
I'm attaching the conn.mat file just in case you want to take a look at it to help solve the issue.
Thanks a lot in advance!
ERROR DESCRIPTION:
Error using conn_designmatrix (line 32)
Mismatch info: Please re-run Setup step
Error in conn_process (line 1536)
[X,nill,names]=conn_designmatrix(CONN_x.Analyses(ianalysis).regressors,X1,[]);
Error in conn_process (line 25)
case 'analyses_gui_seed',disp(['CONN: RUNNING ANALYSIS STEP (ROI-to-ROI or seed-to-voxel analyses)']); conn_process([10:12,15],CONN_x.Analysis);
Error in conn (line 3085)
conn_process('analyses_gui_seed',CONN_x.Analysis);
Error in conn_menumanager (line 102)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN v.14.n
SPM8 + Anatomy ArtRepair Beamforming DEM FieldMap INRIAlign LI MEEGtools PPPI TOM8 aal marsbar wfupickatlas
Matlab v.2012b
Thank you again for your timely and kind help. It did pull in the 2 sessions of SPM correctly. To follow up this thread, somehow after I use the attached script I reran the set up and denoising steps, it all went through fine and I can check the output without error, but in the first level analysis tab, it'll always give me the error asking me to rerun the setup (see below), then tried reran, but still getting the same error. Is it because the SPMcovariates that automatically imported in might be with different dimensions?
So in my SPM8 1st level design, my regressors of motion might be different across subjects if some of them have no outliers of bad volumes. would this be a problem?
ps, everytime I rerun the setup (by hit done), it takes so long if adding a new 2nd level covariate, is this normal?
I'm attaching the conn.mat file just in case you want to take a look at it to help solve the issue.
Thanks a lot in advance!
ERROR DESCRIPTION:
Error using conn_designmatrix (line 32)
Mismatch info: Please re-run Setup step
Error in conn_process (line 1536)
[X,nill,names]=conn_designmatrix(CONN_x.Analyses(ianalysis).regressors,X1,[]);
Error in conn_process (line 25)
case 'analyses_gui_seed',disp(['CONN: RUNNING ANALYSIS STEP (ROI-to-ROI or seed-to-voxel analyses)']); conn_process([10:12,15],CONN_x.Analysis);
Error in conn (line 3085)
conn_process('analyses_gui_seed',CONN_x.Analysis);
Error in conn_menumanager (line 102)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN v.14.n
SPM8 + Anatomy ArtRepair Beamforming DEM FieldMap INRIAlign LI MEEGtools PPPI TOM8 aal marsbar wfupickatlas
Matlab v.2012b
Threaded View
Title | Author | Date |
---|---|---|
Xiaozhen You | Nov 25, 2014 | |
Xiaozhen You | Nov 26, 2014 | |
Alfonso Nieto-Castanon | Nov 27, 2014 | |
Xiaozhen You | Dec 9, 2014 | |
Alfonso Nieto-Castanon | Dec 10, 2014 | |
Alfonso Nieto-Castanon | Dec 10, 2014 | |
Xiaozhen You | Dec 10, 2014 | |
Alfonso Nieto-Castanon | Dec 12, 2014 | |
Xiaozhen You | Dec 23, 2014 | |
Xiaozhen You | Dec 23, 2014 | |
Alfonso Nieto-Castanon | Dec 24, 2014 | |
Xiaozhen You | Dec 31, 2014 | |
Alfonso Nieto-Castanon | Dec 31, 2014 | |
Xiaozhen You | Jan 1, 2015 | |
Alfonso Nieto-Castanon | Jan 1, 2015 | |
Xiaozhen You | Jan 2, 2015 | |
Alfonso Nieto-Castanon | Jan 3, 2015 | |
Xiaozhen You | Jan 5, 2015 | |
Xiaozhen You | Jan 6, 2015 | |
Alfonso Nieto-Castanon | Jan 15, 2015 | |
Xiaozhen You | Jan 15, 2015 | |
Xiaozhen You | Dec 17, 2014 | |
Xiaozhen You | Nov 27, 2014 | |
Alfonso Nieto-Castanon | Nov 26, 2014 | |