Skip to content

Commit

Permalink
FIX: Pass sbref files to SyN workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jul 30, 2023
1 parent b5619db commit fb8e07a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fmriprep/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ def init_single_subject_wf(subject_id: str):
elif estimator.method == fm.EstimatorType.ANAT:
from sdcflows.workflows.fit.syn import init_syn_preprocessing_wf

sources = [str(s.path) for s in estimator.sources if s.suffix == "bold"]
source_meta = [s.metadata for s in estimator.sources if s.suffix == "bold"]
sources = [str(s.path) for s in estimator.sources if s.suffix in ("bold", "sbref")]
source_meta = [s.metadata for s in estimator.sources if s.suffix in ("bold", "sbref")]

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

View check run for this annotation

Codecov / codecov/patch

fmriprep/workflows/base.py#L566-L567

Added lines #L566 - L567 were not covered by tests
syn_preprocessing_wf = init_syn_preprocessing_wf(
omp_nthreads=config.nipype.omp_nthreads,
debug=config.execution.sloppy,
Expand Down

0 comments on commit fb8e07a

Please sign in to comment.