mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
fix: string interpolation and test input access
This commit is contained in:
parent
abaec30889
commit
b2afb3b2ee
2 changed files with 3 additions and 3 deletions
|
@ -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}":
|
||||||
|
|
|
@ -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 )
|
||||||
|
|
Loading…
Reference in a new issue