Skip to content

Commit fa6fe3a

Browse files
committed
fix(ds210): failing for an unbound variable
1 parent 0b9760c commit fa6fe3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def init_func_preproc_wf(bold_file):
222222
config.loggers.workflow.warning(
223223
"No multiecho BOLD images found for T2* coregistration. "
224224
"Using standard EPI-T1 coregistration.")
225-
t2s_coreg = False
225+
config.workflow.t2s_coreg = False
226226

227227
# By default, force-bbr for t2s_coreg unless user specifies otherwise
228228
if config.workflow.t2s_coreg and config.workflow.use_bbr is None:
@@ -410,7 +410,7 @@ def init_func_preproc_wf(bold_file):
410410
bold_t2s_wf = init_bold_t2s_wf(echo_times=tes,
411411
mem_gb=mem_gb['resampled'],
412412
omp_nthreads=omp_nthreads,
413-
t2s_coreg=t2s_coreg,
413+
t2s_coreg=config.workflow.t2s_coreg,
414414
name='bold_t2smap_wf')
415415

416416
workflow.connect([

0 commit comments

Comments
 (0)