help > RE: Preprocessing failure, problem writing header
May 13, 2016  04:05 AM | Alfonso Nieto-Castanon - Boston University
RE: Preprocessing failure, problem writing header
Hi Jeremy,

That seems to indicate a problem when attempting to write to that folder, could you please check whether this might indicate some write permission issues or a full disk?

Best
Alfonso
Originally posted by Jeremy Hogeveen:
Hi there,

I tested out my preprocessing and first-level analysis using one machine (Mac iMac, El Capitan, conn 16a, spm12, and art-2015-10) and it ran smoothly, albeit it took a long time.

So I'm trying to navigate my analysis to a faster windows machine (Dell Precision T1700, Windows 7, conn 16a, spm12, and art-2015-10).  However, for some reason the same preprocessing pipeline shuts down during the first stage (realignment and normalization) on this CPU.

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

SPM12: spm_realign (v6070) 09:31:56 - 12/05/2016
========================================================================
Error: Permission denied
There was a problem writing to the header of
"C:\Users\cnl1796\Documents\Jeremy\tDCS_Patient_Study\Data\mri\Data\tDCS_TBI_01_01_A\SCANS\3\nii\cmrr_mb4_restingstateTE28.nii"
Failed 'Realign & Unwarp'
Error using nifti/create (line 26)
Unable to write header for "C:\Users\cnl1796\Documents\Jeremy\tDCS_Patient_Study\Data\mri\Data\tDCS_TBI_01_01_A\SCANS\3\nii\cmrr_mb4_restingstateTE28.nii".
In file "C:\Users\cnl1796\Documents\MATLAB\spm12\@nifti\create.m" (v5451), function "create" at line 26.
In file "C:\Users\cnl1796\Documents\MATLAB\spm12\spm_get_space.m" (v6379), function "spm_get_space" at line 51.
In file "C:\Users\cnl1796\Documents\MATLAB\spm12\spm_realign.m" (v6070), function "spm_realign" at line 167.
In file "C:\Users\cnl1796\Documents\MATLAB\spm12\config\spm_run_realignunwarp.m" (v6554), function "spm_run_realignunwarp" at line 78.
The following modules did not run:
Failed: Realign & Unwarp


Any recommendations on how to resolve this issue would be very much appreciated!

All the best,

Jeremy

Threaded View

TitleAuthorDate
Jeremy Hogeveen May 12, 2016
Or Duek Jan 24, 2019
Or Duek Jan 23, 2019
RE: Preprocessing failure, problem writing header
Alfonso Nieto-Castanon May 13, 2016
Jeremy Hogeveen May 13, 2016
Alfonso Nieto-Castanon May 17, 2016
Jeremy Hogeveen May 19, 2016
Alfonso Nieto-Castanon May 19, 2016
Jeremy Hogeveen May 19, 2016
Alfonso Nieto-Castanon May 19, 2016
Jeremy Hogeveen May 19, 2016
Alfonso Nieto-Castanon May 20, 2016
Jeremy Hogeveen Jun 7, 2016