Skip to content

Commit

Permalink
STY: ruff [ignore-rev]
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 3, 2024
1 parent 82e9f8b commit 729b5b9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions fmriprep/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,12 +586,8 @@ def init_single_subject_wf(subject_id: str):
# (typically, more than two EPI PE directions), or
# 2. Two modalities are involved, with at most two images to pass
# into FSL TOPUP.
if (
len(set(suffices)) == 1
or (
len(suffices) == 2
and all(suf in ('epi', 'bold', 'sbref') for suf in suffices)
)
if len(set(suffices)) == 1 or (
len(suffices) == 2 and all(suf in ('epi', 'bold', 'sbref') for suf in suffices)
):
wf_inputs = getattr(fmap_wf.inputs, f'in_{estimator.bids_id}')
wf_inputs.in_data = [str(s.path) for s in estimator.sources]
Expand Down

0 comments on commit 729b5b9

Please sign in to comment.