forked from templateflow/python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
86 lines (86 loc) · 2.4 KB
/
config.json
File metadata and controls
86 lines (86 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "templateflow",
"entities": [
{
"name": "template",
"pattern": "[/\\\\]tpl-([a-zA-Z0-9]+)",
"directory": "{{root}}{template}"
},
{
"name": "cohort",
"pattern": "[_/\\\\]cohort-(\\d+)",
"mandatory": false,
"directory": "{{root}}{template}{cohort}",
"dtype": "int"
},
{
"name": "resolution",
"pattern": "[_/\\\\]+res-0*(\\d+)",
"dtype": "int"
},
{
"name": "density",
"pattern": "[_/\\\\]+den-([a-zA-Z0-9]+)"
},
{
"name": "atlas",
"pattern": "[_/\\\\]atlas-([a-zA-Z0-9]+)"
},
{
"name": "segmentation",
"pattern": "[_/\\\\]seg-([a-zA-Z0-9]+)"
},
{
"name": "scale",
"pattern": "[_/\\\\]scale-([0-9]+)"
},
{
"name": "roi",
"pattern": "[_/\\\\]roi-([a-zA-Z0-9]+)"
},
{
"name": "label",
"pattern": "[_/\\\\]label-([a-zA-Z0-9]+)"
},
{
"name": "desc",
"pattern": "[_/\\\\]desc-([a-zA-Z0-9]+)"
},
{
"name": "space",
"pattern": "[_/\\\\]space-([a-zA-Z0-9]+)"
},
{
"name": "from",
"pattern": "(?:^|_)from-([a-zA-Z0-9+]+).*xfm"
},
{
"name": "to",
"pattern": "(?:^|_)to-([a-zA-Z0-9+]+).*xfm"
},
{
"name": "mode",
"pattern": "(?:^|_)mode-([a-zA-Z0-9]+).*xfm"
},
{
"name": "hemi",
"pattern": "[_/\\\\]hemi-(L|R)"
},
{
"name": "suffix",
"pattern": "[._]*([a-zA-Z0-9]*?)\\.[^/\\\\]+$"
},
{
"name": "description",
"pattern": "(.*\\template_description.json)$"
},
{
"name": "extension",
"pattern": "[._]*[a-zA-Z0-9]*?(\\.[^/\\\\]+)$"
}
],
"default_path_patterns": [
"tpl-{template}/template_description.json",
"tpl-{template}[/cohort-{cohort}]/tpl-{template}[_cohort-{cohort}]_res-{resolution}[_space-{space}][_hemi-{hemi}][_desc-{desc}]_{suffix<T1w|T2w|T1rho|T1map|T2map|T2star|FLAIR|FLASH|PDmap|PD|PDT2|inplaneT[12]|angio>}.{extension<nii|nii\\.gz>}"
]
}