Hi, I have been running a bunch of subjects using fmriprep (fmriprep/23.1.4) While most of my subjects run fine, slice timing error keeps occuring in some subject even I tried to rerun it in a fresh work directory. I’ve also checked my slice timings and they all seemed to be correct to me. Acquisition times are kind of the same across all individuals. No specific bad motions and artifacts have been spotted. So I am running out of ideas of what it could cause this. I’ve attached my slice timing crash report here.
Node: fmriprep_23_1_wf.single_subject_M085678_wf.func_preproc_ses_A5512_task_kamin_acq_AP_wf.bold_stc_wf.slice_timing_correction
Working directory: /vast/palmer/scratch/corlett/sf674/predcode/mprc/20/work/fmriprep_23_1_wf/single_subject_M085678_wf/func_preproc_ses_A5512_task_kamin_acq_AP_wf/bold_stc_wf/slice_timing_correction
Node inputs:
args = <undefined>
environ = {}
ignore = <undefined>
in_file = <undefined>
interp = <undefined>
num_threads = 1
out_file = <undefined>
outputtype = NIFTI_GZ
rlt = <undefined>
rltplus = <undefined>
slice_encoding_direction = k
slice_timing = [0.0, 0.43, 0.8575, 0.3075, 0.735, 0.185, 0.6125, 0.0625, 0.49, 0.9175, 0.3675, 0.795, 0.245, 0.6725, 0.1225, 0.5525, 0.0, 0.43, 0.8575, 0.3075, 0.735, 0.185, 0.6125, 0.0625, 0.49, 0.9175, 0.3675, 0.795, 0.245, 0.6725, 0.1225, 0.5525, 0.0, 0.43, 0.8575, 0.3075, 0.735, 0.185, 0.6125, 0.0625, 0.49, 0.9175, 0.3675, 0.795, 0.245, 0.6725, 0.1225, 0.5525, 0.0, 0.43, 0.8575, 0.3075, 0.735, 0.185, 0.6125, 0.0625, 0.49, 0.9175, 0.3675, 0.795, 0.245, 0.6725, 0.1225, 0.5525, 0.0, 0.43, 0.8575, 0.3075, 0.735, 0.185, 0.6125, 0.0625, 0.49, 0.9175, 0.3675, 0.795, 0.245, 0.6725, 0.1225, 0.5525]
tpattern = <undefined>
tr = 1s
tslice = <undefined>
tzero = 0.459
Traceback (most recent call last):
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 527, in run
    result = self._run_interface(execute=True)
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 645, in _run_interface
    return self._run_command(execute)
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 771, in _run_command
    raise NodeExecutionError(msg)
nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node slice_timing_correction.
Cmdline:
	3dTshift -ignore 1 -prefix sub-M085678_ses-A5512_task-kamin_acq_AP_bold_tshift.nii.gz -tpattern @slice_timing.1D -TR 1s -tzero 0.459 /vast/palmer/scratch/corlett/sf674/predcode/mprc/20/work/fmriprep_23_1_wf/single_subject_M085678_wf/func_preproc_ses_A5512_task_kamin_acq_AP_wf/bold_stc_wf/slice_timing_correction/sub-M085678_ses-A5512_task-kamin_acq_AP_bold.nii.gz
Stdout:
Stderr:
	++ 3dTshift: AFNI version=AFNI_23.2.02 (Jul 28 2023) [64-bit]
	** AFNI converts NIFTI_datatype=512 (UINT16) in file /vast/palmer/scratch/corlett/sf674/predcode/mprc/20/work/fmriprep_23_1_wf/single_subject_M085678_wf/func_preproc_ses_A5512_task_kamin_acq_AP_wf/bold_stc_wf/slice_timing_correction/sub-M085678_ses-A5512_task-kamin_acq_AP_bold.nii.gz to FLOAT32
	     Warnings of this type will be muted for this session.
	     Set AFNI_NIFTI_TYPE_WARN to YES to see them all, NO to see none.
	e[7m*+ WARNING:e[0m   If you are performing spatial transformations on an oblique dset,
	  such as /vast/palmer/scratch/corlett/sf674/predcode/mprc/20/work/fmriprep_23_1_wf/single_subject_M085678_wf/func_preproc_ses_A5512_task_kamin_acq_AP_wf/bold_stc_wf/slice_timing_correction/sub-M085678_ses-A5512_task-kamin_acq_AP_bold.nii.gz,
	  or viewing/combining it with volumes of differing obliquity,
	  you should consider running: 
	     3dWarp -deoblique 
	  on this and  other oblique datasets in the same session.
	 See 3dWarp -help for details.
	++ Oblique dataset:/vast/palmer/scratch/corlett/sf674/predcode/mprc/20/work/fmriprep_23_1_wf/single_subject_M085678_wf/func_preproc_ses_A5512_task_kamin_acq_AP_wf/bold_stc_wf/slice_timing_correction/sub-M085678_ses-A5512_task-kamin_acq_AP_bold.nii.gz is 19.985428 degrees from plumb.
	Killed
Traceback:
	Traceback (most recent call last):
	  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 453, in aggregate_outputs
	    setattr(outputs, key, val)
	  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/nipype/interfaces/base/traits_extension.py", line 330, in validate
	    value = super(File, self).validate(objekt, name, value, return_pathlike=True)
	  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in validate
	    self.error(objekt, name, str(value))
	  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/traits/base_trait_handler.py", line 74, in error
	    raise TraitError(
	traits.trait_errors.TraitError: The 'out_file' trait of a TShiftOutputSpec instance must be a pathlike object or string representing an existing file, but a value of '/vast/palmer/scratch/corlett/sf674/predcode/mprc/20/work/fmriprep_23_1_wf/single_subject_M085678_wf/func_preproc_ses_A5512_task_kamin_acq_AP_wf/bold_stc_wf/slice_timing_correction/sub-M085678_ses-A5512_task-kamin_acq_AP_bold_tshift.nii.gz' <class 'str'> was specified.
	During handling of the above exception, another exception occurred:
	Traceback (most recent call last):
	  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 400, in run
	    outputs = self.aggregate_outputs(runtime)
	  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 460, in aggregate_outputs
	    raise FileNotFoundError(msg)
	FileNotFoundError: No such file or directory '/vast/palmer/scratch/corlett/sf674/predcode/mprc/20/work/fmriprep_23_1_wf/single_subject_M085678_wf/func_preproc_ses_A5512_task_kamin_acq_AP_wf/bold_stc_wf/slice_timing_correction/sub-M085678_ses-A5512_task-kamin_acq_AP_bold_tshift.nii.gz' for output 'out_file' of a TShift interface
Many thanks,
Sarah