-
Notifications
You must be signed in to change notification settings - Fork 0
/
habit.json
45 lines (45 loc) · 998 Bytes
/
habit.json
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
{
"id": "Habit",
"template": "anat_file",
"where": {
"container_type": "file",
"parent_container_type": "acquisition",
"file.type": {
"$in": [
"nifti",
"NIfTI",
"JSON"
]
},
"file.classification.Intent": {
"$in": [
"Functional"
]
},
"acquisition.label": {
"$regex": "(?!.*PhysioLog.*)HabitTask"
}
},
"initialize": {
"Task": {
"acquisition.label": {
"$regex": "(?P<value>HabitTask)"
}
},
"Suffix": {
"$switch": {
"$on": "acquisition.label",
"$cases": [
{
"$regex": ".*_SBRef$|.*_sbref$",
"$value": "sbref"
},
{
"$default": true,
"$value": "bold"
}
]
}
}
}
}