Skip to content

Commit

Permalink
rf: Pass fallback_trt to SDC fit workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jan 29, 2025
1 parent 581b7dd commit d1fd368
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fmriprep/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,10 @@ def init_single_subject_wf(subject_id: str):
from sdcflows import fieldmaps as fm
from sdcflows.workflows.base import init_fmap_preproc_wf

fallback_trt = config.workflows.fallback_total_readout_time

Check warning on line 556 in fmriprep/workflows/base.py

View check run for this annotation

Codecov / codecov/patch

fmriprep/workflows/base.py#L556

Added line #L556 was not covered by tests
fmap_wf = init_fmap_preproc_wf(
use_metadata_estimates=fallback_trt == 'estimated',
fallback_total_readout_time=fallback_trt if isinstance(fallback_trt, float) else None,
debug='fieldmaps' in config.execution.debug,
estimators=fmap_estimators,
omp_nthreads=omp_nthreads,
Expand Down

0 comments on commit d1fd368

Please sign in to comment.