Skip to content

Commit

Permalink
Merge pull request #29 from icgc-argo/[email protected]
Browse files Browse the repository at this point in the history
[release]
  • Loading branch information
junjun-zhang authored Feb 22, 2021
2 parents 77bf27c + 11bae8a commit f42a10a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion demo-dna-seq-processing-wf/pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
"license": "AGPL-3.0",
"bugReport": "https://github.com/icgc-argo/demo-wfpkgs/issues",
"homepage": "https://github.com/icgc-argo/demo-wfpkgs#readme"
}
}
9 changes: 5 additions & 4 deletions demo-utils/local_modules/cleanup-workdir.nf
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,24 @@
/* this block is auto-generated based on info from pkg.json where */
/* changes can be made if needed, do NOT modify this block manually */
nextflow.enable.dsl = 2
version = '1.2.0'
version = '1.3.0'
container = [
'ghcr.io': 'ghcr.io/icgc-argo/demo-wfpkgs.demo-utils',
'quay.io': 'quay.io/icgc-argo/demo-wfpkgs.demo-utils'
]
default_container_registry = 'quay.io'
default_container_registry = 'ghcr.io'
/********************************************************************/

params.cpus = 1
params.mem = 1
params.files_to_delete = 'NO_FILE'
params.container_version = ''
params.container_registry = default_container_registry
params.container = ''
params.container_registry = ''


process cleanupWorkdir {
container "${container[params.container_registry]}:${params.container_version ?: version}"
container "${params.container ?: container[params.container_registry ?: default_container_registry]}:${params.container_version ?: version}"
cpus params.cpus
memory "${params.mem} GB"

Expand Down
2 changes: 1 addition & 1 deletion demo-utils/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/* changes can be made if needed, do NOT modify this block manually */
nextflow.enable.dsl = 2
name = 'demo-utils'
version = '1.2.0'
version = '1.3.0'
/********************************************************************/


Expand Down
2 changes: 1 addition & 1 deletion demo-utils/pkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "demo-utils",
"version": "1.2.0",
"version": "1.3.0",
"description": "Package with helper utilities",
"main": "main.nf",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion demo-utils/tests/test-3.nf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"file_name": "123.fa",
"file_size": 256,
"container_registry": "quay.io"
"container_registry": "ghcr.io"
}

0 comments on commit f42a10a

Please sign in to comment.