Commit 34827e55 authored by Devin OKelly's avatar Devin OKelly
Browse files

Move config for containers out into the config files instead of main.nf

parent d0e7a849
...@@ -6,4 +6,13 @@ docker { ...@@ -6,4 +6,13 @@ docker {
process { process {
executor = 'local' executor = 'local'
withName:uppercase {
container = 'ubuntu:latest'
}
withName:tolines {
container = 'ubuntu:latest'
}
withName:wordcounts {
container = 'ubuntu:latest'
}
} }
...@@ -6,4 +6,13 @@ singularity { ...@@ -6,4 +6,13 @@ singularity {
process { process {
executor = 'local' executor = 'local'
withName:uppercase {
container = 'ubuntu:latest'
}
withName:tolines {
container = 'ubuntu:latest'
}
withName:wordcounts {
container = 'ubuntu:latest'
}
} }
...@@ -46,7 +46,6 @@ process parameters { ...@@ -46,7 +46,6 @@ process parameters {
process uppercase { process uppercase {
cpus 1 cpus 1
container 'ubuntu:latest'
input: input:
file story from stories file story from stories
...@@ -63,7 +62,6 @@ process uppercase { ...@@ -63,7 +62,6 @@ process uppercase {
process tolines { process tolines {
cpus 1 cpus 1
container 'ubuntu:latest'
input: input:
file uppercase from uppercased file uppercase from uppercased
...@@ -79,7 +77,6 @@ process tolines { ...@@ -79,7 +77,6 @@ process tolines {
process wordcounts { process wordcounts {
container 'ubuntu:latest'
// Publish the outputs we create here into the workflow output directory // Publish the outputs we create here into the workflow output directory
publishDir "$baseDir/output", mode: 'copy' publishDir "$baseDir/output", mode: 'copy'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment