-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommand.json
More file actions
79 lines (79 loc) · 2.12 KB
/
Copy pathcommand.json
File metadata and controls
79 lines (79 loc) · 2.12 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
{
"name": "xnat-project-visualization",
"description": "Produces various visuals representing different components of an XNAT study (project).",
"version": "1.0",
"schema-version": "1.0",
"type": "docker",
"image": "greppy/xnat-project-visualization",
"override-entrypoint": true,
"command-line": "groovy VisualizeXnat.groovy -u $XNAT_USER -p $XNAT_PASS -s $XNAT_HOST -j #id# -c #charts# -o /output",
"working-directory": "/home",
"mounts": [
{
"name": "tex-out",
"writable": "true",
"path": "/output"
}
],
"inputs": [
{
"name": "id",
"description": "Project ID extracted from wrapper inputs",
"type": "string",
"required": "true",
"user-settable": false
},
{
"name": "charts",
"description": "Comma-separated list of integers, representing the desired charts to generate.",
"type": "string",
"user-settable": true,
"required": true
}
],
"outputs": [
{
"name": "tex",
"description": "The created TeX source files and PDFs",
"mount": "tex-out",
"required": "true"
}
],
"xnat": [
{
"name": "xnat-project-visualization",
"description": "Produces various visuals representing different components of an XNAT study (project).",
"contexts": [
"xnat:projectData"
],
"external-inputs": [
{
"name": "project",
"description": "The project to build stats from.",
"type": "Project",
"required": true,
"load-children": false
}
],
"derived-inputs": [
{
"name": "project-id",
"description": "ID derived from project.",
"required": true,
"derived-from-wrapper-input": "project",
"derived-from-xnat-object-property": "id",
"provides-value-for-command-input": "id"
}
],
"output-handlers": [
{
"name": "tex-resource",
"accepts-command-output": "tex",
"as-a-child-of-wrapper-input": "project",
"type": "Resource",
"label": "TeX"
}
]
}
]
}