Skip to content

Commit 4930202

Browse files
committed
fix: new API of find_estimators enforces keyword args
1 parent 32055f9 commit 4930202

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dmriprep/workflows/base.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,10 @@ def init_single_subject_wf(subject_id):
310310
from sdcflows.workflows.base import init_fmap_preproc_wf
311311

312312
# SDC Step 1: Run basic heuristics to identify available data for fieldmap estimation
313-
fmap_estimators = find_estimators(config.execution.layout)
313+
fmap_estimators = find_estimators(
314+
layout=config.execution.layout,
315+
subject=subject_id,
316+
)
314317

315318
# Add fieldmap-less estimators
316319
if not fmap_estimators and config.workflow.use_syn:

0 commit comments

Comments
 (0)