fix: string interpolation and test input access

This commit is contained in:
Lucas Taniguti 2022-06-08 09:08:59 -03:00
parent abaec30889
commit b2afb3b2ee
2 changed files with 3 additions and 3 deletions

View file

@ -33,8 +33,8 @@ process HAPLOCHECK {
stub: stub:
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"
""" """
touch $prefix.txt touch ${prefix}.txt
touch $prefix.html touch ${prefix}.html
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":

View file

@ -8,7 +8,7 @@ workflow test_haplocheck {
input = [ input = [
[ id:'test' ], // meta map [ id:'test' ], // meta map
file(params.test_data['homo_sapiens']['illumina']['vcf']['test_mito_vcf'], checkIfExists: true) file(params.test_data['homo_sapiens']['illumina']['test_mito_vcf'], checkIfExists: true)
] ]
HAPLOCHECK ( input ) HAPLOCHECK ( input )