refactor: Replace custom publish dirs with reference to task.process

This commit is contained in:
Thomas A. Christensen II 2023-09-23 16:32:29 -05:00
parent 002bd44975
commit 5c4d02263b
Signed by: millironx
GPG key ID: 09335146883990B9
4 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ process HAPLINK_VARIANTS {
output:
tuple val(prefix), path("*.vcf")
publishDir "results", mode: 'copy'
publishDir "results/${task.process}", mode: 'copy'
script:
"""

View file

@ -12,7 +12,7 @@ process SHORAH_AMPLICON {
tuple val(prefix), path("*.vcf")
tuple val(prefix), path("*support.fas")
publishDir "results/shorah-amplicon", mode: 'copy'
publishDir "results/${task.process}", mode: 'copy'
script:
"""

View file

@ -12,7 +12,7 @@ process SHORAH_SHOTGUN {
tuple val(prefix), path("*.vcf")
tuple val(prefix), path("*support.fas")
publishDir "results/shorah-shotgun", mode: 'copy'
publishDir "results/${task.process}", mode: 'copy'
script:
"""

View file

@ -11,7 +11,7 @@ process VIQUAS {
output:
tuple val(prefix), path("*.fa")
publishDir "results/viquas", mode: 'copy'
publishDir "results/${task.process}", mode: 'copy'
script:
"""