File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ process scoreDownload {
4141 label " scoreDownload"
4242 tag " ${ analysis_id} "
4343
44+ if (workflow. containerEngine == " singularity" ) {
45+ containerOptions " --bind \$ (pwd):/score-client/logs"
46+ } else if (workflow. containerEngine == " docker" ) {
47+ containerOptions " -v \$ (pwd):/score-client/logs"
48+ }
49+
4450 input:
4551 path analysis
4652 val study_id
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ process songGetAnalysis {
3838
3939 tag " ${ analysis_id} "
4040
41+ if (workflow. containerEngine == " singularity" ) {
42+ containerOptions " --bind \$ (pwd):/song-client/logs"
43+ } else if (workflow. containerEngine == " docker" ) {
44+ containerOptions " -v \$ (pwd):/song-client/logs"
45+ }
46+
4147 input:
4248 val study_id
4349 val analysis_id
Original file line number Diff line number Diff line change 2121*/
2222
2323nextflow. enable. dsl = 2
24- version = ' 2.8 .0'
24+ version = ' 2.9 .0'
2525
2626// universal params go here, change default value as needed
2727params. publish_dir = " " // set to empty string will disable publishDir
Original file line number Diff line number Diff line change 11{
22 "name" : " song-score-download" ,
3- "version" : " 2.8 .0" ,
3+ "version" : " 2.9 .0" ,
44 "description" : " SONG/SCORE download" ,
55 "main" : " main.nf" ,
66 "deprecated" : false ,
Original file line number Diff line number Diff line change 11{
22 "study_id" : " TEST-PR" ,
3- "analysis_id" : " 9940db0f-c100-496a-80db-0fc100d96ac1 " ,
3+ "analysis_id" : " b953d8e4-41d2-4334-93d8-e441d213346d " ,
44 "publish_dir" : " outdir"
55}
Original file line number Diff line number Diff line change 11{
22 "study_id" : " TEST-PR" ,
3- "analysis_id" : " 9940db0f-c100-496a-80db-0fc100d96ac1 " ,
3+ "analysis_id" : " b953d8e4-41d2-4334-93d8-e441d213346d " ,
44 "max_retries" : 3 ,
55 "first_retry_wait_time" : 5
66}
Original file line number Diff line number Diff line change 11{
22 "study_id" : " TEST-PR" ,
3- "analysis_id" : " 9940db0f-c100-496a-80db-0fc100d96ac1 " ,
3+ "analysis_id" : " b953d8e4-41d2-4334-93d8-e441d213346d " ,
44 "max_retries" : 0
55}
You can’t perform that action at this time.
0 commit comments