Skip to content

Commit

Permalink
Update fmriprep/workflows/base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies authored Jul 31, 2023
1 parent b574f62 commit e09c7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmriprep/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def init_single_subject_wf(subject_id: str):
# replicate the logic that got us to the pared down set of estimators
# here.
final_ids = {fmap.bids_id for fmap in fmap_estimators}
unused_ids = [bids_id for bids_id in fm._estimators if bids_id not in final_ids]
unused_ids = fm._estimators.keys() - final_ids
for bids_id in unused_ids:
del fm._estimators[bids_id]

Expand Down

0 comments on commit e09c7b5

Please sign in to comment.