Skip to content

Commit

Permalink
Merge pull request #2754 from mgxd/fix/collect_data
Browse files Browse the repository at this point in the history
FIX: Preserve `collect_data` behavior by using named args
  • Loading branch information
mgxd authored Apr 6, 2022
2 parents 2d335ed + 940cba3 commit 6ba171f
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 @@ -153,8 +153,8 @@ def init_single_subject_wf(subject_id):
subject_data = collect_data(
config.execution.layout,
subject_id,
config.execution.task_id,
config.execution.echo_idx,
task=config.execution.task_id,
echo=config.execution.echo_idx,
bids_filters=config.execution.bids_filters)[0]

if 'flair' in config.workflow.ignore:
Expand Down

0 comments on commit 6ba171f

Please sign in to comment.