Submitted by kvoigt on Tue, 01/29/2013 - 23:09
Hello,
I just started to do my first resting-state analysis using the REST toolbox. Unfortunatley, I have already an error at an early preprocessing step, namely slice timing. It does the slice time correction for the first subject, but it immediately stops when the analysis for the second subject should actually start. I am using a Mac OS X (Version 10.8.2), Matlab 2012b, SPM8, REST (Version 1.8).
What might be the problem?
The following error message occurs:
Warning: Run spm_jobman('initcfg'); beforehand
> In spm_jobman at 107
In DPARSF_run at 364
In DPARSF>pushbuttonRun_Callback at 976
In gui_mainfcn at 96
In DPARSF at 43
------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Running 'Slice Timing'
SPM8: spm_slice_timing (v4310) 15:58:50 - 29/01/2013
========================================================================
Your TR is 2.1
Failed 'Slice Timing'
Improper assignment with rectangular empty matrix.
In file "/Users/katharinavoigt/Documents/MATLAB/spm8/spm_slice_timing.m" (v4310), function "spm_slice_timing" at line 232.
In file "/Users/katharinavoigt/Documents/MATLAB/spm8/config/spm_run_st.m" (v2312), function "spm_run_st" at line 25.
The following modules did not run:
Failed: Slice Timing
Error using cfg_util (line 835)
Job execution failed. The full log of this run can be found in MATLAB command window, starting with the
lines (look for the line showing the exact #job as displayed in this error message)
------------------
Running job #1
------------------
Error in spm_jobman (line 217)
Error in DPARSF_run (line 365)
Error in DPARSF>pushbuttonRun_Callback (line 976)
Error in gui_mainfcn (line 96)
Error in DPARSF (line 43)
Error while evaluating uicontrol Callback
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: The given File must have an absolute path: /Users/katharinavoigt/Documents/MATLAB/cfg_util.m
at com.mathworks.mde.editor.MatlabEditorApplication.checkFileIsAbsolute(MatlabEditorApplication.java:593)
at com.mathworks.mde.editor.MatlabEditorApplication.doOpenEditorOnEdt(MatlabEditorApplication.java:514)
at com.mathworks.mde.editor.MatlabEditorApplication.openEditor(MatlabEditorApplication.java:142)
at com.mathworks.mde.cmdwin.CmdWinDocument.openEditorAt(CmdWinDocument.java:2361)
at com.mathworks.mde.cmdwin.CmdWinDocument.goToHyperLink(CmdWinDocument.java:2318)
at com.mathworks.mde.cmdwin.XCaret.doHyperLinkCheck(XCaret.java:582)
at com.mathworks.mde.cmdwin.XCaret.mouseClicked(XCaret.java:828)
at com.mathworks.mwswing.datatransfer.MWMouseDragGestureRecognizer.mouseClicked(MWMouseDragGestureRecognizer.java:337)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.Component.processMouseEvent(Component.java:6385)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6147)
at java.awt.Container.processEvent(Container.java:2083)
at com.mathworks.mde.cmdwin.XCmdWndView.processEvent(XCmdWndView.java:431)
at java.awt.Component.dispatchEventImpl(Component.java:4744)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4572)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4289)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4572)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:704)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:677)
at java.awt.EventQueue$3.run(EventQueue.java:675)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:674)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
>>
Submitted by YAN Chao-Gan on Wed, 01/30/2013 - 01:55 Permalink
Re: Resting-State analyis using the DPARSF toolbox - Error ...
Hi!
"Improper assignment with rectangular empty matrix."
Seems the slice order or number is not correct for the second subject. Are you sure the second subject has the same slice acquisition with the first subject?
Submitted by kvoigt on Wed, 01/30/2013 - 03:33 Permalink
Re: Resting-State analyis using the DPARSF toolbox - Error ...
Thanks, it was indeed a problem with the slice number!