-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdescriptor.json
107 lines (107 loc) · 2.96 KB
/
descriptor.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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "Create_Annotations",
"container-image": {
"image": "cytomineuliege/s_create_annotations",
"type": "singularity"
},
"description": "Create annotations from a given threshold on a heatmap.",
"schema-version": "cytomine-0.1",
"command-line": "python run.py CYTOMINE_HOST CYTOMINE_PUBLIC_KEY CYTOMINE_PRIVATE_KEY CYTOMINE_ID_PROJECT CYTOMINE_ID_SOFTWARE CYTOMINE_TERM_IDS IMAGE_ID HEATMAP_ID THRESHOLD MIN_AREA",
"inputs": [
{
"id": "cytomine_host",
"name": "Cytomine host",
"set-by-server": true,
"optional": false,
"type": "String",
"value-key": "@ID",
"command-line-flag": "--@id"
},
{
"id": "cytomine_public_key",
"name": "Cytomine public key",
"set-by-server": true,
"optional": false,
"type": "String",
"value-key": "@ID",
"command-line-flag": "--@id"
},
{
"id": "cytomine_private_key",
"name": "Cytomine private key",
"set-by-server": true,
"optional": false,
"type": "String",
"value-key": "@ID",
"command-line-flag": "--@id"
},
{
"id": "cytomine_id_project",
"name": "Cytomine project ID",
"set-by-server": true,
"optional": false,
"type": "Number",
"value-key": "@ID",
"command-line-flag": "--@id"
},
{
"id": "cytomine_id_software",
"name": "Cytomine software ID",
"set-by-server": true,
"optional": false,
"type": "Number",
"value-key": "@ID",
"command-line-flag": "--@id"
},
{
"id": "cytomine_term_ids",
"name": "Cytomine terms that will be associated to the annotations",
"optional": false,
"type": "ListDomain",
"uri": "/api/ontology/$currentOntology$/term.json",
"uri-print-attribute": "name",
"uri-sort-attribute": "name",
"value-key": "@ID",
"command-line-flag": "--@id"
},
{
"id": "image_id",
"name": "The Cytomine image ID",
"optional": false,
"type": "Domain",
"uri": "/api/project/$currentProject$/imageinstance.json",
"uri-print-attribute": "instanceFilename",
"uri-sort-attribute": "instanceFilename",
"value-key": "@ID",
"command-line-flag": "--@id"
},
{
"id": "heatmap_id",
"name": "The heatmap associated to this image",
"optional": false,
"type": "Domain",
"uri": "/api/project/$currentProject$/imageinstance.json",
"uri-print-attribute": "instanceFilename",
"uri-sort-attribute": "instanceFilename",
"value-key": "@ID",
"command-line-flag": "--@id"
},
{
"id": "threshold",
"name": "Threshold",
"optional": false,
"type": "Number",
"value-key": "@ID",
"command-line-flag": "--@id"
},
{
"id": "min_area",
"name": "Minimum valid area",
"optional": true,
"default-value": 1000,
"type": "Number",
"value-key": "@ID",
"command-line-flag": "--@id"
}
]
}