Skip to content

Commit bbf85e5

Browse files
committed
rf: Pass fallback_trt to SDC fit workflows
1 parent b2dcc99 commit bbf85e5

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
@@ -614,7 +614,10 @@ def init_single_subject_wf(subject_id: str):
614614
from sdcflows import fieldmaps as fm
615615
from sdcflows.workflows.base import init_fmap_preproc_wf
616616

617+
fallback_trt = config.workflow.fallback_total_readout_time
617618
fmap_wf = init_fmap_preproc_wf(
619+
use_metadata_estimates=fallback_trt == 'estimated',
620+
fallback_total_readout_time=fallback_trt if isinstance(fallback_trt, float) else None,
618621
debug='fieldmaps' in config.execution.debug,
619622
estimators=fmap_estimators,
620623
omp_nthreads=omp_nthreads,

0 commit comments

Comments
 (0)