open-discussion > Error with Realign and Unwarp SPM12
Oct 10, 2018  03:10 PM | cece2602
Error with Realign and Unwarp SPM12
Hi all,

I am trying to run a realign and unwarp using SPM12 but keep getting the following error:

------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Running 'Realign & Unwarp'

SPM12: spm_realign (v7141) 18:06:29 - 09/10/2018
========================================================================
Printing 'Graphics' figure to:
/Volumes/LaCie/spm_2018Oct09.ps
Completed : 18:08:13 - 09/10/2018
SPM12: spm_uw_estimate (v6824) 18:08:13 - 09/10/2018
========================================================================
Printing 'Graphics' figure to:
/Volumes/LaCie/spm_2018Oct09.ps
Completed : 18:10:01 - 09/10/2018
SPM12: spm_uw_estimate (v6824) 18:10:02 - 09/10/2018
========================================================================
Printing 'Graphics' figure to:
/Volumes/LaCie/spm_2018Oct09.ps
Completed : 18:11:49 - 09/10/2018
SPM12: spm_uw_estimate (v6824) 18:11:50 - 09/10/2018
========================================================================
Printing 'Graphics' figure to:
/Volumes/LaCie/spm_2018Oct09.ps
Completed : 18:13:38 - 09/10/2018
SPM12: spm_uw_apply (v6301) 18:13:38 - 09/10/2018
========================================================================
Computing mask... : Failed 'Realign & Unwarp'
Matrix dimensions must agree.
In file "/Users/jin/Documents/MATLAB/spm12/spm_get_image_def.m" (v5219), function "spm_get_image_def" at line 111.
In file "/Users/jin/Documents/MATLAB/spm12/spm_uw_apply.m" (v6301), function "spm_uw_apply" at line 229.
In file "/Users/jin/Documents/MATLAB/spm12/config/spm_run_realignunwarp.m" (v6554), function "spm_run_realignunwarp" at line 98.
The following modules did not run:
Failed: Realign & Unwarp

I get these errors for 2 subjects.

I have tried breaking it down by processing the data from each task separately (as opposed to a batch script with multiple sessions) and it works fine this way. But it means I get several mean images, instead of just the one as you would get if I processed all the tasks together. Is this ok?

Does anyone know what the problem could be? 

Many thanks for all your help.

Cece

Threaded View

TitleAuthorDate
Error with Realign and Unwarp SPM12
cece2602 Oct 10, 2018
Abdullah BAS Oct 12, 2018