-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcallbacks.js
45 lines (40 loc) · 934 Bytes
/
callbacks.js
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
function launchSpec(dataProvider)
{
var ret = {
commandLine: ['python', '-u', '/opt/files/driver.py'],
containerImageId: "johnegarza/chromoseq:v9.1",
Options: [ "bsfs.enabled=true" ]
};
return ret;
}
// example multi-node launch spec
/*
function launchSpec(dataProvider)
{
var ret = {
nodes: []
};
ret.nodes.push({
appSessionName: "Hello World 1",
commandLine: [ "cat", "/illumina.txt" ],
containerImageId: "basespace/demo",
Options: [ "bsfs.enabled=true" ]
});
ret.nodes.push({
appSessionName: "Hello World 2",
commandLine: [ "cat", "/illumina.txt" ],
containerImageId: "basespace/demo",
Options: [ "bsfs.enabled=true" ]
});
return ret;
}
*/
/*
function billingSpec(dataProvider) {
return [
{
"Id" : "insert product ID here",
"Quantity": 1.0
}];
}
*/