Dear Experts,
I have a problem when running fmri prep (v fMRIPrep 21.0.1)
I am using the following command :
singularity run --cleanenv /shared/images/fmriprep_latest.sif dataset_test/ output/ participant --participant-label sub-001 --fs-license-file /shared/sandbox_fmriprep/license.txt --force-bbr --n_cpus 1 --ignore slicetiming sbref fieldmaps
At first I have the following warning :
1: [WARN] The number of elements in the SliceTiming array should match the 'k' dimension of the corresponding NIfTI volume. (code: 87 - SLICETIMIN$
./sub-001/func/sub-001_task-rest_acq-TR1430_bold.nii.gz
Evidence: SliceTiming array is of length 1 and the value of the 'k' dimension is 81 for the corresponding nifti header.
Later on, I have the following error message :
As I have added in my command line the flag --ignore slicetiming sbref, I was wondering if you confirm that this error message is related to slice timing (which is strange, because I added the flag “ignore slicetiming” or if it is another problem.
Thank you very much in advance for your help !
220807-06:09:46,61 nipype.workflow IMPORTANT:
Building fMRIPrep's workflow:
* BIDS dataset path: /dataset_test.
* Participant list: ['001'].
* Run identifier: 20220807-060933_0927f016-6711-4be2-aa0f-cc3f0d4aa735.
* Output spaces: MNI152NLin2009cAsym:res-native.
* Pre-run FreeSurfer's SUBJECTS_DIR: /ocean/projects/med220002p/shared/noomane/charles/output/sourcedata/freesurfer.
220807-05:31:56,122 nipype.workflow INFO:
No single-band-reference found for sub-001_task-rest_acq-TR1430_bold.nii.gz.
Process Process-2:
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/lib/python3.8/site-packages/fmriprep/cli/workflow.py", line 118, in build_workflow
retval["workflow"] = init_fmriprep_wf()
File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 85, in init_fmriprep_wf
single_subject_wf = init_single_subject_wf(subject_id)
File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 370, in init_single_subject_wf
func_preproc_wf = init_func_preproc_wf(bold_file, has_fieldmap=has_fieldmap)
File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/bold/base.py", line 395, in init_func_preproc_wf
func_derivatives_wf = init_func_derivatives_wf(
File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/bold/outputs.py", line 164, in init_func_derivatives_wf
timing_parameters = prepare_timing_parameters(metadata)
File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/bold/outputs.py", line 96, in prepare_timing_parameters
TA = st[-1] + (st[1] - st[0]) # Final slice onset - slice duration
IndexError: list index out of range