I'm getting this error running nipype on an ubuntu vm setup. My code looks like this:
import os
from nipype.interfaces.spm import SliceTiming
st = SliceTiming();
st.inputs.in_files = 'rIM-007-0119_brain.nii';
st.inputs.num_slices = 36;
st.inputs.time_repetition = 2.0;
st.inputs.time_aquisition = 2. - (2./36.);
st.inputs.slice_order = range(1,37,2) + range(2,38,2); # interleaved ascending
st.inputs.ref_slice = 18; # ref to middle slice
st.inputs.paths = os.getcwd(); # I'm in the current dir where the file above is located
st.run();
The error makes it sound like I'm missing an input file, but as far as I know it should only need the file to be corrected, right? Nipype is adding the matlab path to my data correctly, and spm8 is in scope as well. Stumped..
Any help is greatly appreciated.
thanks,
-Zack
--
Zachary Greenberg
Imaging CORE Manager
UCSF Memory and Aging Center
Department of Neurology