We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad74072 commit 6127a32Copy full SHA for 6127a32
src/smriprep/utils/bids.py
@@ -76,8 +76,7 @@ def collect_derivatives(
76
for _space in std_spaces:
77
space = _space.replace(':cohort-', '+')
78
for key, qry in spec['transforms'].items():
79
- qry = qry.copy()
80
- qry |= qry_base
+ qry = {**qry, **qry_base}
81
qry['from'] = qry['from'] or space
82
qry['to'] = qry['to'] or space
83
item = layout.get(return_type='filename', **qry)
0 commit comments