-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_rules.yml
More file actions
61 lines (54 loc) · 1.47 KB
/
test_rules.yml
File metadata and controls
61 lines (54 loc) · 1.47 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
version: v1
tag_rules:
- capture: "([^-.]+)"
blacklist:
- 1
- name: "FALSE"
rules:
- attribute_path: ["image", "roicount"]
operation: lt
value: 1
- name: "TRUE"
rules:
- attribute_path: ["image", "roi", "count"]
operation: gt
value: 0
- name: "Subtractive"
absolute: false
type: subtractive
rules:
- attribute_path: ["image", "roi","count"]
operation: gt
value: 0
- name: "UselessAND_TRUE"
rules:
- attribute_path: ["image", "roi", "shape", "strokecolor"]
operation: eq
value: 255
- attribute_path: ["image", "roi", "shape", "count"]
operation: eq
value: 1
- name: "InherentlyFalseAND"
rules:
- attribute_path: ["image", "roi", "shape", "strokecolor"]
operation: eq
value: 255
- attribute_path: ["image", "roi", "shape", "strokecolor"]
operation: eq
value: 254
- name: "DescriptionTest"
rules:
- attribute_path: ["image", "descriptions"]
operation: match
value: ".*test.*"
- name: "PhysicalSizeTest"
rules:
- attribute_path: ["image", "primarypixel", "physicalsizex"]
operation: eq
value: 1000
- attribute_path: ["image", "primarypixel", "physicalsizey"]
operation: eq
value: 1000
- attribute_path: ["image", "primarypixel", "physicalsizex", "unit", "name"]
operation: eq
value: "MICROMETER"