Skip to content

Commit

Permalink
FIX: Iterating
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Jul 1, 2022
1 parent 714e65a commit e25613c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niworkflows/utils/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def collect_data(
bids_filters = bids_filters or {}
for acq, entities in bids_filters.items():
queries[acq].update(entities)
for entity in layout_get_kwargs:
for entity in list(layout_get_kwargs.keys()):
if entity in entities:
# avoid clobbering layout.get
del layout_get_kwargs[entity]
Expand Down

0 comments on commit e25613c

Please sign in to comment.