Skip to content

Commit 2ebb385

Browse files
authored
Merge pull request #48 from icgc-argo-workflows/song-score-upload@2.9.1
[release]
2 parents fc036e9 + 67afbd0 commit 2ebb385

8 files changed

Lines changed: 35 additions & 7 deletions

File tree

.DS_Store

6 KB
Binary file not shown.

process/score_upload.nf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ process scoreUpload {
3434

3535
container "${ params.score_container ?: params.container}:${params.score_container_version ?: params.container_version}"
3636

37+
if (workflow.containerEngine == "singularity") {
38+
containerOptions "--bind \$(pwd):/score-client/logs"
39+
}
40+
3741
tag "${analysis_id}"
3842

3943
input:

process/song_manifest.nf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ process songManifest {
3737
memory "${params.mem} GB"
3838
tag "${analysis_id}"
3939

40+
if (workflow.containerEngine == "singularity") {
41+
containerOptions "--bind \$(pwd):/song-client/logs"
42+
}
43+
4044
input:
4145
val study_id
4246
val analysis_id

process/song_publish.nf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ process songPublish {
3333

3434
container "${ params.song_container ?: params.container}:${params.song_container_version ?: params.container_version}"
3535

36+
if (workflow.containerEngine == "singularity") {
37+
containerOptions "--bind \$(pwd):/song-client/logs"
38+
}
39+
3640
tag "${analysis_id}"
3741

3842
input:

process/song_submit.nf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ process songSubmit {
3333

3434
container "${ params.song_container ?: params.container}:${params.song_container_version ?: params.container_version}"
3535

36+
if (workflow.containerEngine == "singularity") {
37+
containerOptions "--bind \$(pwd):/song-client/logs"
38+
}
39+
3640
tag "${study_id}"
3741
label "songSubmit"
3842

song-score-upload/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222

2323
nextflow.enable.dsl = 2
24-
version = '2.9.0'
24+
version = '2.9.1'
2525

2626
// universal params go here, change default value as needed
2727
params.publish_dir = "" // set to empty string will disable publishDir

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.9.0",
3+
"version": "2.9.1",
44
"description": "SONG/SCORE upload",
55
"main": "main.nf",
66
"deprecated": false,

song-score-upload/tests/checker.nf

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626

2727
nextflow.enable.dsl = 2
28-
version = '2.9.0'
28+
version = '2.9.1'
2929

3030
// universal params go here, change default value as needed
3131
params.max_retries = 5 // set to 0 will disable retry
@@ -43,16 +43,28 @@ params.song_cpus = 1
4343
params.song_mem = 1 // GB
4444
params.song_url = "https://song.rdpc-qa.cancercollaboratory.org"
4545
params.song_api_token = ""
46-
params.song_container_version = "4.2.1"
46+
params.song_container = "ghcr.io/overture-stack/song-client"
47+
params.song_container_version = "5.0.2"
4748

4849
params.score_cpus = 1
4950
params.score_mem = 1 // GB
5051
params.score_transport_mem = 1 // GB
5152
params.score_url = "https://score.rdpc-qa.cancercollaboratory.org"
5253
params.score_api_token = ""
53-
params.score_container_version = "5.0.0"
54-
55-
include { SongScoreUpload as SSUp } from '../main'
54+
params.score_container = "ghcr.io/overture-stack/score"
55+
params.score_container_version = "5.8.1"
56+
57+
song_params = [
58+
*:params,
59+
'cpus': params.song_cpus,
60+
'mem': params.song_mem,
61+
'song_url': params.song_url,
62+
'song_container': params.song_container,
63+
'song_container_version': params.song_container_version,
64+
'api_token': params.song_api_token ?: params.api_token
65+
]
66+
67+
include { SongScoreUpload as SSUp } from '../main' params(song_params)
5668

5769

5870
workflow checker {

0 commit comments

Comments
 (0)