Skip to content

Commit 6127a32

Browse files
tsaloeffigies
andauthored
Update src/smriprep/utils/bids.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent ad74072 commit 6127a32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/smriprep/utils/bids.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ def collect_derivatives(
7676
for _space in std_spaces:
7777
space = _space.replace(':cohort-', '+')
7878
for key, qry in spec['transforms'].items():
79-
qry = qry.copy()
80-
qry |= qry_base
79+
qry = {**qry, **qry_base}
8180
qry['from'] = qry['from'] or space
8281
qry['to'] = qry['to'] or space
8382
item = layout.get(return_type='filename', **qry)

0 commit comments

Comments
 (0)