Skip to content

Commit fb8e07a

Browse files
committed
FIX: Pass sbref files to SyN workflow
1 parent b5619db commit fb8e07a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fmriprep/workflows/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,8 @@ def init_single_subject_wf(subject_id: str):
563563
elif estimator.method == fm.EstimatorType.ANAT:
564564
from sdcflows.workflows.fit.syn import init_syn_preprocessing_wf
565565

566-
sources = [str(s.path) for s in estimator.sources if s.suffix == "bold"]
567-
source_meta = [s.metadata for s in estimator.sources if s.suffix == "bold"]
566+
sources = [str(s.path) for s in estimator.sources if s.suffix in ("bold", "sbref")]
567+
source_meta = [s.metadata for s in estimator.sources if s.suffix in ("bold", "sbref")]
568568
syn_preprocessing_wf = init_syn_preprocessing_wf(
569569
omp_nthreads=config.nipype.omp_nthreads,
570570
debug=config.execution.sloppy,

0 commit comments

Comments
 (0)