generated from UCL-MIRSG/mirsg-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemail_radreads.json
More file actions
86 lines (86 loc) · 2.43 KB
/
email_radreads.json
File metadata and controls
86 lines (86 loc) · 2.43 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
80
81
82
83
84
85
86
{
"name": "email-radreads",
"description": "Send email listing sessions without radreads",
"label": "Radreads email",
"version": "1.3",
"schema-version": "1.0",
"type": "docker",
"command-line": "email_radreads \"#PROJECTID#\" \"#EXCLUDESESSIONS#\" \"#EMAILLIST#\"",
"image": "ghcr.io/ucl-mirsg/drc-containers:latest",
"override-entrypoint": true,
"mounts": [],
"inputs": [
{
"name": "project-id",
"description": "Project ID",
"type": "string",
"user-settable": false,
"required": true,
"replacement-key": "#PROJECTID#"
},
{
"name": "exclude-sessions",
"description": "Comma-separated list of strings. Exclude sessions labels containing any of these strings",
"type": "string",
"user-settable": true,
"required": true,
"replacement-key": "#EXCLUDESESSIONS#",
"default-value": "_MR_20151215,_MR_20151111"
},
{
"name": "email-list",
"description": "Comma separated list of email addresses",
"type": "string",
"user-settable": true,
"required": true,
"replacement-key": "#EMAILLIST#"
}
],
"outputs": [],
"xnat": [
{
"name": "email-radreads-project",
"label": "Send radreads email",
"description": "Send email listing sessions requiring radreads",
"contexts": ["xnat:projectData"],
"external-inputs": [
{
"name": "project",
"description": "Input project",
"type": "Project",
"required": true,
"load-children": false
}
],
"derived-inputs": [
{
"name": "project-identifier",
"type": "string",
"derived-from-wrapper-input": "project",
"derived-from-xnat-object-property": "id",
"provides-value-for-command-input": "project-id",
"user-settable": false,
"required": true
}
],
"output-handlers": []
},
{
"name": "cron-email-radreads-project",
"label": "Send radreads email (cron)",
"description": "Send email listing sessions requiring radreads (executed from cron event)",
"contexts": ["xnat:projectData"],
"external-inputs": [
{
"name": "project",
"description": "Input project",
"type": "Project",
"required": true,
"load-children": false
}
],
"derived-inputs": [],
"output-handlers": []
}
]
}