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:
def prefix = task.ext.prefix ?: "${meta.id}"
"""
touch $prefix.txt
touch $prefix.html
touch ${prefix}.txt
touch ${prefix}.html
cat <<-END_VERSIONS > versions.yml
"${task.process}":

View file

@ -8,7 +8,7 @@ workflow test_haplocheck {
input = [
[ 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 )