help > Very odd "Missing Conditions!!!" Error
Jul 5, 2017  11:07 AM | Haakon Engen
Very odd "Missing Conditions!!!" Error
Hi, 

So, I'm trying to run gPPI and I'm stuck with that old classic of a "Missing Conditions" error when trying to estimate contrasts, suggesting I've got the naming wrong or something. Error pasted below.


VOI has 56 voxels in 2x2x2 space

VOI has 17 voxels in 3x3x3 space. This is in the the same space as the input data and functional mask.
SPM12: spm_fMRI_design (v5183) 12:55:26 - 05/07/2017
========================================================================
Saving fMRI design : ...SPM.mat saved
SPM12: spm_fmri_spm_ui (v6088) 12:55:27 - 05/07/2017
========================================================================
Mapping files : ...done
Calculating globals : ...done
Saving SPM configuration : ...SPM.mat saved
estimate_PPI.m
SPM12: spm_spm (v6842) 12:55:51 - 05/07/2017
========================================================================
SPM12: spm_est_non_sphericity (v6827) 12:55:55 - 05/07/2017
========================================================================
Estimation Failed
Warning: Missing conditions!!! Invalid Contrast
Invalid Contrast
PPI Contrasts were not estimated for some reason.


Thing is, I've been through everything with a comb, and there's no mismatch between the task names and contrast names or, well anything else. I'm pulling the names directly from the first level SPM design and the contrast names match.  I've even tried specifying a contrail (even though I'm not using derivatives), but to no avail. The error persists even when I specify a contrast like: 

P.Contrasts(i).left={'Neg_T'};
P.Contrasts(i).right={'none'};
P.Contrasts(i).STAT='T';
P.Contrasts(i).Weighted=0;
P.Contrasts(i).MinEvents=0;
P.Contrasts(i).name='Neg_T_BL';


This is really weird as I've basically just swapped the path names on a script that worked perfectly on another data set. 

Any pointers on what might be up are very much appreciated.

Best, 
Haakon

Threaded View

TitleAuthorDate
Very odd "Missing Conditions!!!" Error
Haakon Engen Jul 5, 2017
Donald McLaren Jul 5, 2017
Haakon Engen Jul 7, 2017
Donald McLaren Jul 7, 2017