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.
2 parents bf1df32 + 93cb2ee commit 5c8ef24Copy full SHA for 5c8ef24
src/smriprep/data/io_spec.json
@@ -44,6 +44,16 @@
44
".nii.gz",
45
".nii"
46
]
47
+ },
48
+ "t2w_preproc": {
49
+ "datatype": "anat",
50
+ "space": null,
51
+ "desc": "preproc",
52
+ "suffix": "T2w",
53
+ "extension": [
54
+ ".nii.gz",
55
+ ".nii"
56
+ ]
57
}
58
},
59
"transforms": {
src/smriprep/utils/bids.py
@@ -70,7 +70,9 @@ def collect_derivatives(
70
71
paths = [item.path for item in item]
72
73
- derivs_cache[f't1w_{key}'] = paths[0] if len(paths) == 1 else paths
+ if not key.startswith('t2w_'):
74
+ key = f't1w_{key}'
75
+ derivs_cache[key] = paths[0] if len(paths) == 1 else paths
76
77
transforms = derivs_cache.setdefault('transforms', {})
78
for _space in std_spaces:
0 commit comments