Skip to content

Commit

Permalink
Unstable files also for other tests in catpack/reads
Browse files Browse the repository at this point in the history
  • Loading branch information
jfy133 committed Jan 25, 2025
1 parent 6ebedbb commit 2335038
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 56 deletions.
12 changes: 6 additions & 6 deletions modules/nf-core/catpack/reads/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ nextflow_process {
{ assert process.success },
{ assert snapshot(
file(process.out.rat_log.get(0).get(1)).readLines().last().contains('RAT is done!'),
process.out.complete_abundance,
process.out.contig_abundance,
process.out.read2classification,
file(process.out.complete_abundance.get(0).get(1)).readLines().last().contains('unclassified'),
file(process.out.contig_abundance.get(0).get(1)).readLines().last().contains('NODE_2'),
file(process.out.read2classification.get(0).get(1)).readLines().last().contains('no taxid assigned'),
process.out.alignment_diamond,
process.out.contig2classification,
file(process.out.cat_log.get(0).get(1)).readLines().last().contains('CAT is done!'),
Expand Down Expand Up @@ -164,9 +164,9 @@ nextflow_process {
{ assert process.success },
{ assert snapshot(
file(process.out.rat_log.get(0).get(1)).readLines().last().contains('RAT is done!'),
process.out.complete_abundance,
process.out.contig_abundance,
process.out.read2classification,
file(process.out.complete_abundance.get(0).get(1)).readLines().last().contains('unclassified'),
file(process.out.contig_abundance.get(0).get(1)).readLines().last().contains('NODE_2'),
file(process.out.read2classification.get(0).get(1)).readLines().last().contains('no taxid assigned'),
process.out.alignment_diamond,
process.out.contig2classification,
file(process.out.cat_log.get(0).get(1)).readLines().last().contains('CAT is done!'),
Expand Down
58 changes: 8 additions & 50 deletions modules/nf-core/catpack/reads/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,9 @@
"sarscov2 - mr": {
"content": [
true,
[
[
{
"id": "test"
},
"test.complete.abundance.txt:md5,7e79f1bf50a92c78dfc0e6715b035def"
]
],
[
[
{
"id": "test"
},
"test.contig.abundance.txt:md5,7b1ac957710c7a3b53d441f77d4840e5"
]
],
[
[
{
"id": "test"
},
"test.read2classification.txt:md5,d7814c4d778e3a9801c4a39cda667d63"
]
],
true,
true,
true,
[
[
{
Expand Down Expand Up @@ -102,7 +81,7 @@
"nf-test": "0.9.2",
"nextflow": "24.10.4"
},
"timestamp": "2025-01-25T10:13:49.765319288"
"timestamp": "2025-01-25T16:42:10.917626872"
},
"sarscov2 - mcr - stub": {
"content": [
Expand Down Expand Up @@ -338,30 +317,9 @@
"sarscov2 - cr": {
"content": [
true,
[
[
{
"id": "test"
},
"test.complete.abundance.txt:md5,ffca4f764020b79891283bbdbbbaf403"
]
],
[
[
{
"id": "test"
},
"test.contig.abundance.txt:md5,2cdca2eec589ca8af2d23b8b9b3f4492"
]
],
[
[
{
"id": "test"
},
"test.read2classification.txt:md5,024b743326f8eadb2f7a8d3c714e615f"
]
],
true,
true,
true,
[
[
{
Expand Down Expand Up @@ -438,7 +396,7 @@
"nf-test": "0.9.2",
"nextflow": "24.10.4"
},
"timestamp": "2025-01-25T10:13:37.295849696"
"timestamp": "2025-01-25T16:42:03.190414401"
},
"sarscov2 - mcr": {
"content": [
Expand Down

0 comments on commit 2335038

Please sign in to comment.