Skip to content

Commit d1fd368

Browse files
committed
rf: Pass fallback_trt to SDC fit workflows
1 parent 581b7dd commit d1fd368

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fmriprep/workflows/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,10 @@ def init_single_subject_wf(subject_id: str):
553553
from sdcflows import fieldmaps as fm
554554
from sdcflows.workflows.base import init_fmap_preproc_wf
555555

556+
fallback_trt = config.workflows.fallback_total_readout_time
556557
fmap_wf = init_fmap_preproc_wf(
558+
use_metadata_estimates=fallback_trt == 'estimated',
559+
fallback_total_readout_time=fallback_trt if isinstance(fallback_trt, float) else None,
557560
debug='fieldmaps' in config.execution.debug,
558561
estimators=fmap_estimators,
559562
omp_nthreads=omp_nthreads,

0 commit comments

Comments
 (0)