-
Notifications
You must be signed in to change notification settings - Fork 0
/
command.json
143 lines (143 loc) · 4.25 KB
/
command.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "AI4VBH-deface (based on NiftyReg)",
"label": "AI4VBH-deface (based on NiftyReg)",
"description": "Module to deface head image based on segmentation propagation and image smoothing.",
"version": "1.0",
"schema-version": "1.0",
"info-url": "None",
"image": "xnat/ai4vbh_defacing:2.0",
"type": "docker",
"command-line": "run.sh /input",
"mounts": [
{
"name": "input-scan-mount",
"writable": false,
"path": "/input"
},
{
"name": "output-mount",
"writable": true,
"path": "/output"
}
],
"environment-variables": {},
"ports": {},
"inputs": [],
"outputs": [
{
"name": "defaced-output",
"description": "The input image has been defaced",
"required": true,
"mount": "output-mount",
"path": null,
"glob": null
}
],
"xnat": [
{
"name": "AI4VBH-defacing",
"label": null,
"description": "Run the defacing processing from a Session",
"contexts": [
"xnat:imageSessionData"
],
"external-inputs": [
{
"name": "session",
"label": null,
"description": "Input session",
"type": "Session",
"matcher": null,
"default-value": null,
"required": true,
"replacement-key": null,
"sensitive": null,
"provides-value-for-command-input": null,
"provides-files-for-command-mount": null,
"via-setup-command": null,
"user-settable": null,
"load-children": true
}
],
"derived-inputs": [
{
"name": "input-scan",
"label": null,
"description": "The input scan, to be defaced",
"type": "Scan",
"matcher": "'DICOM' in @.resources[*].label",
"default-value": null,
"required": true,
"replacement-key": null,
"sensitive": null,
"provides-value-for-command-input": null,
"provides-files-for-command-mount": null,
"user-settable": null,
"load-children": true,
"derived-from-wrapper-input": "session",
"derived-from-xnat-object-property": null,
"via-setup-command": null,
"multiple": false,
"parser": null
},
{
"name": "input-scan-dicom",
"label": null,
"description": "The input scan's dicom resource",
"type": "Resource",
"matcher": "@.label == 'DICOM'",
"default-value": null,
"required": true,
"replacement-key": null,
"sensitive": null,
"provides-value-for-command-input": null,
"provides-files-for-command-mount": "input-scan-mount",
"user-settable": null,
"load-children": true,
"derived-from-wrapper-input": "input-scan",
"derived-from-xnat-object-property": null,
"via-setup-command": null,
"multiple": false,
"parser": null
},
{
"name": "input-scan-id",
"label": null,
"description": "The input scan's id",
"type": "string",
"matcher": null,
"default-value": null,
"required": true,
"replacement-key": null,
"sensitive": null,
"provides-value-for-command-input": null,
"provides-files-for-command-mount": null,
"user-settable": null,
"load-children": true,
"derived-from-wrapper-input": "input-scan",
"derived-from-xnat-object-property": "id",
"via-setup-command": null,
"multiple": false,
"parser": null
}
],
"output-handlers": [
{
"name": "defaced",
"accepts-command-output": "defaced-output",
"via-wrapup-command": null,
"as-a-child-of": "input-scan",
"type": "Resource",
"label": "DEFACED_#input-scan-id#",
"format": null,
"description": null,
"content": null,
"tags": []
}
]
}
],
"container-labels": {},
"generic-resources": {},
"ulimits": {}
}