From da93beaf606a9f4ea7ae335ed3e25afdeac2bc26 Mon Sep 17 00:00:00 2001 From: Mahesh Binzer-Panchal Date: Mon, 9 May 2022 13:50:49 +0000 Subject: [PATCH] Update pytests --- tests/modules/meryl/histogram/nextflow.config | 5 +++-- tests/modules/meryl/histogram/test.yml | 18 +++++++----------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/tests/modules/meryl/histogram/nextflow.config b/tests/modules/meryl/histogram/nextflow.config index 50f50a7a..6d899c50 100644 --- a/tests/modules/meryl/histogram/nextflow.config +++ b/tests/modules/meryl/histogram/nextflow.config @@ -1,5 +1,6 @@ process { publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" } - -} \ No newline at end of file + ext.args = 'k=21' + +} diff --git a/tests/modules/meryl/histogram/test.yml b/tests/modules/meryl/histogram/test.yml index ef358943..dce26b65 100644 --- a/tests/modules/meryl/histogram/test.yml +++ b/tests/modules/meryl/histogram/test.yml @@ -1,14 +1,10 @@ -## TODO nf-core: Please run the following command to build this file: -# nf-core modules create-test-yml meryl/histogram -- name: "meryl histogram" - command: nextflow run ./tests/modules/meryl/histogram -entry test_meryl_histogram -c ./tests/config/nextflow.config -c ./tests/modules/meryl/histogram/nextflow.config +- name: meryl histogram test_meryl_histogram + command: nextflow run tests/modules/meryl/histogram -entry test_meryl_histogram -c tests/config/nextflow.config tags: - - "meryl" - # - - "meryl/histogram" - # + - meryl/histogram + - meryl files: - - path: "output/meryl/test.bam" - md5sum: e667c7caad0bc4b7ac383fd023c654fc + - path: output/meryl/test.hist + md5sum: 4bfdc8b287ee0cfd9922bbfa8cd64650 - path: output/meryl/versions.yml - md5sum: a01fe51bc4c6a3a6226fbf77b2c7cf3b + md5sum: 050038f1b1df79977a393cce1b4b2ddb