From 2111eb378f0d37dbbac083203d344787ed842dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Famke=20Ba=CC=88uerle?= Date: Wed, 15 May 2024 13:21:29 +0200 Subject: [PATCH] update tbi test and snap --- .../gatk4/applyvqsr/tests/main.nf.test | 4 ++-- .../gatk4/applyvqsr/tests/main.nf.test.snap | 20 ------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/modules/nf-core/gatk4/applyvqsr/tests/main.nf.test b/modules/nf-core/gatk4/applyvqsr/tests/main.nf.test index 39a3d5aa347..c316480ef52 100644 --- a/modules/nf-core/gatk4/applyvqsr/tests/main.nf.test +++ b/modules/nf-core/gatk4/applyvqsr/tests/main.nf.test @@ -35,7 +35,7 @@ nextflow_process { { assert process.success }, { assert snapshot(process.out.versions).match("versions") }, { assert path(process.out.vcf.get(0).get(1)).linesGzip.contains("##fileformat=VCFv4.2") }, - { assert snapshot(path(process.out.tbi[0][1]).linesGzip.size()).match("tbi") } + { assert path(process.out.tbi.get(0).get(1)).linesGzip.toString().contains("TBI")} ) } @@ -67,7 +67,7 @@ nextflow_process { { assert process.success }, { assert snapshot(process.out.versions).match("versions_allelspecific") }, { assert path(process.out.vcf.get(0).get(1)).linesGzip.contains("##fileformat=VCFv4.2") }, - { assert snapshot(path(process.out.tbi[0][1]).linesGzip.size()).match("tbi_allelspecific") } + { assert path(process.out.tbi.get(0).get(1)).linesGzip.toString().contains("TBI")} ) } diff --git a/modules/nf-core/gatk4/applyvqsr/tests/main.nf.test.snap b/modules/nf-core/gatk4/applyvqsr/tests/main.nf.test.snap index d30983f8e56..a30c9eca173 100644 --- a/modules/nf-core/gatk4/applyvqsr/tests/main.nf.test.snap +++ b/modules/nf-core/gatk4/applyvqsr/tests/main.nf.test.snap @@ -1,14 +1,4 @@ { - "tbi_allelspecific": { - "content": [ - 20 - ], - "meta": { - "nf-test": "0.8.4", - "nextflow": "23.10.0" - }, - "timestamp": "2024-05-15T13:01:08.112484" - }, "versions": { "content": [ [ @@ -70,16 +60,6 @@ }, "timestamp": "2024-05-15T13:01:24.370421" }, - "tbi": { - "content": [ - 28 - ], - "meta": { - "nf-test": "0.8.4", - "nextflow": "23.10.0" - }, - "timestamp": "2024-05-15T13:00:49.378451" - }, "versions_allelspecific": { "content": [ [