Summary of what happened:
I am running fmriprep version 24.0.1 on singularity and fmriprep does not detect the fieldmaps. All steps mentioned below have been applied (exactly the same) on data from a different study and it worked perfectly.
For this particular study, the only difference is that voxel size of fieldmaps does not match voxel size of BOLD data. Not sure if that’s what is causing fmriprep to skip the fmaps, but I was told by the person who built our sequence that this should not be the problem.
Command used (and if a helper script was used, a link to the helper script or the command generated):
singularity exec --cleanenv -B /path/hidden:/base_dir -B /path/hidden/singularity_images/mytemplateflowdir:/opt/templateflow /path/hidden/singularity_images/fmriprep-24.0.1.sif \
fmriprep -v /base_dir/experiments/sips/data/bids /base_dir/experiments/studyhidden/data/fmriprep/fmriprep_24.0.1 \
participant \
--participant-label ${sub} \
--fs-license-file /base_dir/freesurfer/license.txt \
--omp-nthreads 16 --n_cpus 16 \
--slice-time-ref 0.5 \
--ignore slicetiming \
--dummy-scans 0 \
--fs-no-reconall \
--bold2anat-dof 12 --fd-spike-threshold 0.5 \
--output-spaces MNI152NLin2009cAsym \
-w /base_dir/experiments/studyhidden/data/fmriprep/fmriprep_24.0.1/fmriprep_wf \
--stop-on-first-crash
Version:
fmriprep-24.0.1
Environment (Docker, Singularity / Apptainer, custom installation):
Singularity
Data formatted according to a validatable standard? Please provide the output of the validator:
Yes
Relevant log outputs (up to 20 lines):
I deleted some of the intermediate lines to make sure it’s not too much over 20 lines
260415-15:18:23,823 cli INFO:
Telemetry system to collect crashes and errors is enabled - thanks for your feedback!. Use option ``--notrack`` to opt out.
260415-15:18:24,759 cli INFO:
Making sure the input data is BIDS compliant (warnings can be ignored in most cases).
bids-validator@1.14.6
e[33m1: [WARN] The recommended file /README is missing. See Section 03 (Modality agnostic files) of the BIDS specification. (code: 101 - README_FILE_MISSING)e[39m
e[36m Please visit https://neurostars.org/search?q=README_FILE_MISSING for existing conversations about this issue.e[39m
e[33m2: [WARN] The Authors field of dataset_description.json should contain an array of fields - with one author per field. This was triggered because there are no authors, which will make DOI registration from dataset metadata impossible. (code: 113 - NO_AUTHORS)e[39m
e[36m Please visit https://neurostars.org/search?q=NO_AUTHORS for existing conversations about this issue.e[39m
e[34me[4mSummary:e[24me[39m e[34me[4mAvailable Tasks:e[24me[39m e[34me[4mAvailable Modalities:e[39me[24m
49 Files, 1.29GB MRI
4 - Subjects
1 - Session
e[36m If you have any questions, please post on https://neurostars.org/tags/bids.e[39m
260415-15:18:45,429 nipype.workflow IMPORTANT:
Running fMRIPrep version 24.0.1
260415-15:18:45,518 nipype.workflow IMPORTANT:
Building fMRIPrep's workflow:
* BIDS dataset path: /base_dir/experiments/studyhidden/data/bids.
* Participant list: ['006'].
* Run identifier: 20260415-151821_715f8792-e47d-4197-a509-8d5751c94cec.
* Output spaces: MNI152NLin2009cAsym:res-native.
* Pre-run FreeSurfer's SUBJECTS_DIR: /base_dir/experiments/studyhidden/data/fmriprep/fmriprep_24.0.1/sourcedata/freesurfer.
260415-15:18:46,519 nipype.workflow INFO:
ANAT Stage 1: Adding template workflow
260415-15:18:47,353 nipype.workflow INFO:
ANAT Stage 2: Preparing brain extraction workflow
260415-15:18:47,534 nipype.workflow INFO:
ANAT Stage 3: Preparing segmentation workflow
260415-15:18:47,544 nipype.workflow INFO:
ANAT Stage 4: Preparing normalization workflow for ['MNI152NLin2009cAsym']
260415-15:18:47,564 nipype.workflow INFO:
ANAT Skipping Stages 5+
260415-15:18:48,140 nipype.workflow INFO:
No single-band-reference found for sub-006_task-subliminal_run-01_bold.nii.gz.
260415-15:18:48,277 nipype.workflow INFO:
Stage 1: Adding HMC boldref workflow
260415-15:18:48,291 nipype.workflow INFO:
Stage 2: Adding motion correction workflow
260415-15:18:48,308 nipype.workflow INFO:
Stage 3: Adding coregistration boldref workflow
260415-15:18:48,709 nipype.workflow INFO:
No single-band-reference found for sub-006_task-subliminal_run-02_bold.nii.gz.
260415-15:18:48,805 nipype.workflow INFO:
Stage 1: Adding HMC boldref workflow
260415-15:18:48,817 nipype.workflow INFO:
Stage 2: Adding motion correction workflow
260415-15:18:48,826 nipype.workflow INFO:
Stage 3: Adding coregistration boldref workflow
260415-15:18:53,702 nipype.workflow INFO:
fMRIPrep workflow graph with 459 nodes built successfully.
260415-15:19:15,480 nipype.workflow IMPORTANT:
fMRIPrep started!
Screenshots / relevant information:
Below is my tree for this subject.
Below is the end of the phasediff json files. Phase Encoding direction of fmap is j-
Note all these same steps have worked before on data from a different study - all processed with the same bids formatting, same fmriprep version and same “IntendedFor” field at the end of the phasediff files.


