Skip to content

Commit 4650ed9

Browse files
authored
Merge pull request #34 from icgc-argo/song-score-upload@2.6.1
[release]
2 parents 873dd4c + 49d4cdb commit 4650ed9

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

process/song_manifest.nf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ nextflow.enable.dsl=2
55
params.cpus = 1
66
params.mem = 1
77

8+
params.publish_dir = ""
9+
810
params.max_retries = 5 // set to 0 will disable retry
911
params.first_retry_wait_time = 1 // in seconds
1012

@@ -25,6 +27,8 @@ process songManifest {
2527
return params.max_retries ? 'retry' : 'finish'
2628
}
2729

30+
publishDir "${params.publish_dir}/${task.process.replaceAll(':', '_')}", mode: "copy", enabled: params.publish_dir
31+
2832
pod = [secret: workflow.runName + "-secret", mountPath: "/tmp/rdpc_secret"]
2933

3034
cpus params.cpus

song-score-upload/main.nf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
*/
2222

2323
nextflow.enable.dsl = 2
24-
version = '2.6.0' // package version
24+
version = '2.6.1'
2525

2626
// universal params go here, change default value as needed
27+
params.publish_dir = "" // set to empty string will disable publishDir
28+
2729
params.max_retries = 5 // set to 0 will disable retry
2830
params.first_retry_wait_time = 1 // in seconds
2931

song-score-upload/pkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "song-score-upload",
3-
"version": "2.6.0",
3+
"version": "2.6.1",
44
"description": "SONG/SCORE upload",
55
"main": "main.nf",
66
"deprecated": false,
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"study_id": "TEST-PR",
33
"payload": "data/9940db0f-c100-496a-80db-0fc100d96ac1.analysis.json",
4-
"upload": ["data/SA610228.67.20200319.wxs.grch38.cram", "data/SA610228.67.20200319.wxs.grch38.cram.crai"]
4+
"upload": ["data/SA610228.67.20200319.wxs.grch38.cram", "data/SA610228.67.20200319.wxs.grch38.cram.crai"],
5+
"publish_dir": "outdir"
56
}

0 commit comments

Comments
 (0)