help > RE: Preprocessing and differing number of slices
Apr 22, 2014  04:04 PM | Daniel Fitzgerald
RE: Preprocessing and differing number of slices
Hi Alfonso,

So that patch has been working well for us over the last year, but just today I ran into an issue where a participant having different number of slices between sessions (don't ask) kills the script. It comes up with the correct number of slices and slice-time corrects the first session but I get the following error when it tries to move on to the second:

Failed 'Slice Timing'
Improper assignment with rectangular empty matrix.
In file "/usr/local/spm8/spm_slice_timing.m" (v4310), function "spm_slice_timing" at line 232.
In file "/usr/local/spm8/config/spm_run_st.m" (v2312), function "spm_run_st" at line 25.

Running 'Realign: Estimate & Reslice'
Failed 'Realign: Estimate & Reslice'
Error using spm_bsplinc
File too small.

For this one participant I may just go ahead and reslice it manually, but would be great if we could get a similar check for between-session slice number differences.

Best wishes,

Dan

Originally posted by Alfonso Nieto-Castanon:
(...)
I believe that should fix this issue (after this change, the wizard should prompt you again for the slice order when the preprocessing steps encounter a subject with different number of acquisitions).
(...)

Threaded View

TitleAuthorDate
Daniel Fitzgerald Mar 18, 2013
Alfonso Nieto-Castanon Mar 20, 2013
RE: Preprocessing and differing number of slices
Daniel Fitzgerald Apr 22, 2014
Alfonso Nieto-Castanon Apr 22, 2014
Daniel Fitzgerald Apr 16, 2013
Alfonso Nieto-Castanon May 24, 2013