generated from UCL-MIRSG/mirsg-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
email_listmode.json
86 lines (86 loc) · 2.39 KB
/
email_listmode.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
{
"name": "email-listmode",
"description": "Send email listing subjects with missing listmode data",
"label": "Listmode email",
"version": "1.3",
"schema-version": "1.0",
"type": "docker",
"command-line": "email_listmode \"#PROJECTID#\" \"#THRESHOLDDAYS#\" \"#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": "email-list",
"description": "Comma separated list of email addresses",
"type": "string",
"user-settable": true,
"required": true,
"replacement-key": "#EMAILLIST#"
},
{
"name": "threshold-days",
"description": "Only check sessions created within this number of days",
"type": "number",
"user-settable": true,
"required": true,
"replacement-key": "#THRESHOLDDAYS#",
"default-value": 90
}
],
"outputs": [],
"xnat": [
{
"name": "email-listmode-project",
"label": "Send listmode email",
"description": "Send email listing subjects with missing listmode data",
"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-listmode-project",
"label": "Send listmode email (cron)",
"description": "Send email listing subjects with missing listmode data (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": []
}
]
}