Skip to content

Commit

Permalink
change to check for filename
Browse files Browse the repository at this point in the history
  • Loading branch information
famosab committed May 15, 2024
1 parent 4aeb7bc commit a8b5e5c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/nf-core/gatk4/applyvqsr/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -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 path(process.out.tbi.get(0).get(1)).linesGzip.toString().contains("TBI")}
{ assert snapshot(file(process.out.tbi.get(0).get(1)).name).match() }
)
}

Expand Down Expand Up @@ -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 path(process.out.tbi.get(0).get(1)).linesGzip.toString().contains("TBI")}
{ assert snapshot(file(process.out.tbi.get(0).get(1)).name).match() }
)
}

Expand Down
20 changes: 20 additions & 0 deletions modules/nf-core/gatk4/applyvqsr/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
{
"human - vcf": {
"content": [
"test.vcf.gz.tbi"
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "23.10.0"
},
"timestamp": "2024-05-15T13:31:50.727658"
},
"human - vcf - allele-specific": {
"content": [
"test.vcf.gz.tbi"
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "23.10.0"
},
"timestamp": "2024-05-15T13:29:42.331816"
},
"versions": {
"content": [
[
Expand Down

0 comments on commit a8b5e5c

Please sign in to comment.