Dear Amir,
On 04/11/16 12:21, Amir Dehsarvi wrote:
> Dear Adeel, Peter, and other SPM experts,
>
> I am running a script based on different batches in SPM on a dataset
> with 26 participants (2 sessions and 3 runs). This dataset has been
> analysed before in FSL (2 publications with statistical analysis) and I
> am doing a reanalysis using SPM12. The code runs smoothly for some of
> the participants and does the spatial preprocessing and the processing
> by defining a GLM and then moving on to DCM to extract the DCM.Ep.A (I
> have modified the sum_run_fmri_spec in config so that it stops asking
> for a confirmation for over writing the SPM file).
Does this happen because you fit two GLMs on the same data, one to
extract global signal and another one with it as independent variable?
> Unfortunately, it works well with the exception of a few participants/runs.
> The errormessage is:
>
> Running 'Volume of Interest'
> Warning: Empty region.
> In spDCM_fun_test (line 207)
> Failed 'Volume of Interest'
> Reference to non-existent field 'v'.
> In file ".../spm12/config/spm_run_voi.m" (v6301), function
> "spm_run_voi" at line 76.
>
> The following modules did not run:
> Failed: Volume of Interest
>
> Is there anything that I should do to fix this?
The error message is not too helpful here but the warning is: your VOI
is empty. Have a look at the mask.nii image for the problematic subjects
to get a better understanding of what is happening in your region of
interest.
> On a different note, I had to modify the code in DCM specification:
>
> Sess = SPM.Sess(xY(1).Sess);
>
>
> as this was causing errors as xY(1).Sess is 2 at points, and not 1.
> Therefore, I changed it to:
>
> Sess = SPM.Sess(1);
>
>
> Is it going to be problematic? And, if yes, is there any other way of
> fixing the issue?
Not sure to understand why you had to do this. If you have two sessions,
xY.Sess can be equal to 2 but SPM.Sess will be a structure array of
dimension 2. How did you model your sessions and runs for each subject?
Best regards,
Guillaume.
> Thanking you in advance,
> Amir
>
> Amir Dehsarvi
> PhD Student | Intelligent Systems Research Group | Department of
> Electronics | University of York
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|