Skip to content

Commit a0cc490

Browse files
authored
Merge pull request #2101 from effigies/fix/use_syn_config
FIX: Rename use_syn config option to use_syn_sdc to match CLI
2 parents 549e787 + 91aea21 commit a0cc490

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fmriprep/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ class workflow(_Config):
456456
"""Run ICA-:abbr:`AROMA (automatic removal of motion artifacts)`."""
457457
use_bbr = None
458458
"""Run boundary-based registration for BOLD-to-T1w registration."""
459-
use_syn = None
459+
use_syn_sdc = None
460460
"""Run *fieldmap-less* susceptibility-derived distortions estimation
461461
in the absence of any alternatives."""
462462

fmriprep/workflows/bold/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ def init_func_preproc_wf(bold_file):
198198
fmaps = None
199199
if 'fieldmaps' not in config.workflow.ignore:
200200
fmaps = fieldmap_wrangler(layout, ref_file,
201-
use_syn=config.workflow.use_syn,
201+
use_syn=config.workflow.use_syn_sdc,
202202
force_syn=config.workflow.force_syn)
203-
elif config.workflow.use_syn or config.workflow.force_syn:
203+
elif config.workflow.use_syn_sdc or config.workflow.force_syn:
204204
# If fieldmaps are not enabled, activate SyN-SDC in unforced (False) mode
205205
fmaps = {'syn': False}
206206

0 commit comments

Comments
 (0)