Skip to content

Commit e25613c

Browse files
committed
FIX: Iterating
1 parent 714e65a commit e25613c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/utils/bids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def collect_data(
237237
bids_filters = bids_filters or {}
238238
for acq, entities in bids_filters.items():
239239
queries[acq].update(entities)
240-
for entity in layout_get_kwargs:
240+
for entity in list(layout_get_kwargs.keys()):
241241
if entity in entities:
242242
# avoid clobbering layout.get
243243
del layout_get_kwargs[entity]

0 commit comments

Comments
 (0)