Skip to content

Commit

Permalink
Removed unstable items from snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
GallVp committed Jul 16, 2024
1 parent 9aeb27c commit 453153e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 50 deletions.
4 changes: 3 additions & 1 deletion modules/nf-core/ltrharvest/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
{ assert snapshot(process.out.gff3).match("gff3_no_ltr") },
{ assert path(process.out.scn[0][1]).text.contains("predictions are reported in the following way") },
{ assert snapshot(path(process.out.versions[0]).text).match("versions_no_ltr") }
)
}

Expand Down
76 changes: 27 additions & 49 deletions modules/nf-core/ltrharvest/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
@@ -1,53 +1,4 @@
{
"sarscov2-genome_fasta-no_ltr": {
"content": [
{
"0": [
[
{
"id": "test"
},
"test.gff3:md5,bddeb04277af08b5850e64708e8af02a"
]
],
"1": [
[
{
"id": "test"
},
"test.scn:md5,052ad9f59f8780d4fc42a389f1a7cd3e"
]
],
"2": [
"versions.yml:md5,51e82185b713482d1d48b6f15abe7fcc"
],
"gff3": [
[
{
"id": "test"
},
"test.gff3:md5,bddeb04277af08b5850e64708e8af02a"
]
],
"scn": [
[
{
"id": "test"
},
"test.scn:md5,052ad9f59f8780d4fc42a389f1a7cd3e"
]
],
"versions": [
"versions.yml:md5,51e82185b713482d1d48b6f15abe7fcc"
]
}
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.04.2"
},
"timestamp": "2024-07-16T12:49:31.454766"
},
"versions": {
"content": [
"\"LTRHARVEST\":\n LTR_HARVEST_parallel: v1.1\n genometools: 1.6.5\n"
Expand Down Expand Up @@ -107,6 +58,23 @@
},
"timestamp": "2024-02-22T14:44:30.682167"
},
"gff3_no_ltr": {
"content": [
[
[
{
"id": "test"
},
"test.gff3:md5,bddeb04277af08b5850e64708e8af02a"
]
]
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.04.3"
},
"timestamp": "2024-07-16T15:19:51.163554"
},
"gff3": {
"content": [
[
Expand All @@ -123,5 +91,15 @@
"nextflow": "23.10.1"
},
"timestamp": "2024-02-22T19:29:33.962761"
},
"versions_no_ltr": {
"content": [
"\"LTRHARVEST\":\n LTR_HARVEST_parallel: v1.1\n genometools: 1.6.5\n"
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.04.3"
},
"timestamp": "2024-07-16T15:19:51.177662"
}
}

0 comments on commit 453153e

Please sign in to comment.