refactor: Replace custom publish dirs with reference to task.process
This commit is contained in:
parent
002bd44975
commit
5c4d02263b
4 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ process HAPLINK_VARIANTS {
|
|||
output:
|
||||
tuple val(prefix), path("*.vcf")
|
||||
|
||||
publishDir "results", mode: 'copy'
|
||||
publishDir "results/${task.process}", mode: 'copy'
|
||||
|
||||
script:
|
||||
"""
|
||||
|
|
|
@ -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:
|
||||
"""
|
||||
|
|
|
@ -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:
|
||||
"""
|
||||
|
|
|
@ -11,7 +11,7 @@ process VIQUAS {
|
|||
output:
|
||||
tuple val(prefix), path("*.fa")
|
||||
|
||||
publishDir "results/viquas", mode: 'copy'
|
||||
publishDir "results/${task.process}", mode: 'copy'
|
||||
|
||||
script:
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue