Skip to content

Commit

Permalink
Merge pull request #50 from icgc-argo-workflows/song-score-download@2…
Browse files Browse the repository at this point in the history
….9.0

[release]
  • Loading branch information
edsu7 authored Jan 6, 2023
2 parents 5d79bcb + 8a0f63a commit 530cb1e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 5 deletions.
6 changes: 6 additions & 0 deletions process/score_download.nf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ process scoreDownload {
label "scoreDownload"
tag "${analysis_id}"

if (workflow.containerEngine == "singularity") {
containerOptions "--bind \$(pwd):/score-client/logs"
} else if (workflow.containerEngine == "docker") {
containerOptions "-v \$(pwd):/score-client/logs"
}

input:
path analysis
val study_id
Expand Down
6 changes: 6 additions & 0 deletions process/song_get_analysis.nf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ process songGetAnalysis {

tag "${analysis_id}"

if (workflow.containerEngine == "singularity") {
containerOptions "--bind \$(pwd):/song-client/logs"
} else if (workflow.containerEngine == "docker") {
containerOptions "-v \$(pwd):/song-client/logs"
}

input:
val study_id
val analysis_id
Expand Down
2 changes: 1 addition & 1 deletion song-score-download/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

nextflow.enable.dsl = 2
version = '2.8.0'
version = '2.9.0'

// universal params go here, change default value as needed
params.publish_dir = "" // set to empty string will disable publishDir
Expand Down
2 changes: 1 addition & 1 deletion song-score-download/pkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "song-score-download",
"version": "2.8.0",
"version": "2.9.0",
"description": "SONG/SCORE download",
"main": "main.nf",
"deprecated": false,
Expand Down
2 changes: 1 addition & 1 deletion song-score-download/tests/local-test-1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"study_id": "TEST-PR",
"analysis_id": "9940db0f-c100-496a-80db-0fc100d96ac1",
"analysis_id": "b953d8e4-41d2-4334-93d8-e441d213346d",
"publish_dir": "outdir"
}
2 changes: 1 addition & 1 deletion song-score-download/tests/local-test-2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"study_id": "TEST-PR",
"analysis_id": "9940db0f-c100-496a-80db-0fc100d96ac1",
"analysis_id": "b953d8e4-41d2-4334-93d8-e441d213346d",
"max_retries": 3,
"first_retry_wait_time": 5
}
2 changes: 1 addition & 1 deletion song-score-download/tests/local-test-3.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"study_id": "TEST-PR",
"analysis_id": "9940db0f-c100-496a-80db-0fc100d96ac1",
"analysis_id": "b953d8e4-41d2-4334-93d8-e441d213346d",
"max_retries": 0
}

0 comments on commit 530cb1e

Please sign in to comment.