Skip to content
Snippets Groups Projects
Commit 17855533 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Add subtype for T1weighted JSON side car

parent a87add08
Branches f-label
No related tags found
No related merge requests found
......@@ -34,10 +34,11 @@ metadata:
params:
suffix: null
parent: null
extension: "[.a-zA-Z0-9]+"
definition:
${parent}_datafile:
type: SimpleFile
match: ^sub-(?P<sub>[a-zA-Z0-9]+)(_ses-(?P<ses>[a-zA-Z0-9]+))?(_acq-(?P<acq>[a-zA-Z0-9]+))?(_ce-(?P<ce>[a-zA-Z0-9]+))?(_rec-(?P<rec>[a-zA-Z0-9]+))?(_run-(?P<run>[a-zA-Z0-9]+))?(_mod-(?P<mod>[a-zA-Z0-9]+))?(_echo-(?P<echo>[a-zA-Z0-9]+))?(_inv-(?P<inv>[a-zA-Z0-9]+))?(_flip-(?P<flip>[a-zA-Z0-9]+))?(_mt-(?P<mt>[a-zA-Z0-9]+))?(_part-(?P<part>[a-zA-Z0-9]+))?(_(?P<suffix>${suffix}))?\.(?P<extension>[.a-zA-Z0-9]+)$
match: ^sub-(?P<sub>[a-zA-Z0-9]+)(_ses-(?P<ses>[a-zA-Z0-9]+))?(_acq-(?P<acq>[a-zA-Z0-9]+))?(_ce-(?P<ce>[a-zA-Z0-9]+))?(_rec-(?P<rec>[a-zA-Z0-9]+))?(_run-(?P<run>[a-zA-Z0-9]+))?(_mod-(?P<mod>[a-zA-Z0-9]+))?(_echo-(?P<echo>[a-zA-Z0-9]+))?(_inv-(?P<inv>[a-zA-Z0-9]+))?(_flip-(?P<flip>[a-zA-Z0-9]+))?(_mt-(?P<mt>[a-zA-Z0-9]+))?(_part-(?P<part>[a-zA-Z0-9]+))?(_(?P<suffix>${suffix}))?\.(?P<extension>${extension})$
records:
someFile:
parents:
......@@ -476,6 +477,10 @@ project_level:
- suffix: MTS
parent: "MagnetizationTransferSaturation"
- suffix: T1w
extension: json
parent: "T1WeightedImageJSON"
- suffix: T1w
extension: (?!json)
parent: "T1WeightedImage"
- suffix: T2starw
parent: "T2starWeightedImage"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment