Skip to content

Commit f181b38

Browse files
committed
FIX: Use SyN-SDC if --use-syn-sdc and --ignore fieldmaps are used
1 parent 1741e01 commit f181b38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ def init_func_preproc_wf(
360360
fmaps = None
361361
if 'fieldmaps' not in ignore:
362362
fmaps = fieldmap_wrangler(layout, ref_file, use_syn=use_syn, force_syn=force_syn)
363+
elif use_syn:
364+
fmaps = {'syn': True}
363365

364366
# Short circuits: (True and True and (False or 'TooShort')) == 'TooShort'
365367
run_stc = (bool(metadata.get("SliceTiming")) and

0 commit comments

Comments
 (0)