Skip to content

Commit

Permalink
tests: update tests and snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
atrigila committed Dec 26, 2024
1 parent d5cd26d commit d902bba
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 105 deletions.
10 changes: 9 additions & 1 deletion modules/nf-core/decoupler/progeny/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
{ assert snapshot(
process.out.dc_estimate,
process.out.dc_pvals,
process.out.dc_acts,
process.out.dc_umap,
file(process.out.dc_violin[0][1]).name,
process.out.dc_matrixplot,
process.out.versions
).match() }
)
}

Expand Down
148 changes: 44 additions & 104 deletions modules/nf-core/decoupler/progeny/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
@@ -1,115 +1,55 @@
{
"decoupler_progeny_test": {
"content": [
{
"0": [
[
{
"id": "test"
},
"progeny_mlm_estimate_decoupler.tsv:md5,4f522c47f5aedcd5b33ea889b7c185b2"
]
],
"1": [
[
{
"id": "test"
},
"progeny_mlm_pvals_decoupler.tsv:md5,ea8e79e671d1375cc617076afacfc080"
]
],
"2": [
[
{
"id": "test"
},
"acts_decoupler.tsv:md5,4f522c47f5aedcd5b33ea889b7c185b2"
]
],
"3": [
[
{
"id": "test"
},
"umapTrail_louvain_umap.png:md5,ef5c89481d5a2a517a554bc64dac433c"
]
],
"4": [
[
{
"id": "test"
},
"violinTrail_violin.png:md5,89be69b7b9d36dcdeee91dd3d5d03584"
]
],
"5": [
[
{
"id": "test"
},
"matrixplot_decoupler.png:md5,19243dca42ac80f160dc8eb7da484906"
]
],
"6": [
"versions.yml:md5,1f1551db219b78d1db7614bfa9e178d4"
],
"dc_acts": [
[
{
"id": "test"
},
"acts_decoupler.tsv:md5,4f522c47f5aedcd5b33ea889b7c185b2"
]
],
"dc_estimate": [
[
{
"id": "test"
},
"progeny_mlm_estimate_decoupler.tsv:md5,4f522c47f5aedcd5b33ea889b7c185b2"
]
],
"dc_matrixplot": [
[
{
"id": "test"
},
"matrixplot_decoupler.png:md5,19243dca42ac80f160dc8eb7da484906"
]
],
"dc_pvals": [
[
{
"id": "test"
},
"progeny_mlm_pvals_decoupler.tsv:md5,ea8e79e671d1375cc617076afacfc080"
]
],
"dc_umap": [
[
{
"id": "test"
},
"umapTrail_louvain_umap.png:md5,ef5c89481d5a2a517a554bc64dac433c"
]
],
"dc_violin": [
[
{
"id": "test"
},
"violinTrail_violin.png:md5,89be69b7b9d36dcdeee91dd3d5d03584"
]
],
"versions": [
"versions.yml:md5,1f1551db219b78d1db7614bfa9e178d4"
[
[
{
"id": "test"
},
"progeny_mlm_estimate_decoupler.tsv:md5,4f522c47f5aedcd5b33ea889b7c185b2"
]
}
],
[
[
{
"id": "test"
},
"progeny_mlm_pvals_decoupler.tsv:md5,ea8e79e671d1375cc617076afacfc080"
]
],
[
[
{
"id": "test"
},
"acts_decoupler.tsv:md5,4f522c47f5aedcd5b33ea889b7c185b2"
]
],
[
[
{
"id": "test"
},
"umapTrail_louvain_umap.png:md5,ef5c89481d5a2a517a554bc64dac433c"
]
],
"violinTrail_violin.png",
[
[
{
"id": "test"
},
"matrixplot_decoupler.png:md5,19243dca42ac80f160dc8eb7da484906"
]
],
[
"versions.yml:md5,1f1551db219b78d1db7614bfa9e178d4"
]
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.3"
},
"timestamp": "2024-12-18T16:09:34.435031309"
"timestamp": "2024-12-26T14:39:42.92778896"
}
}

0 comments on commit d902bba

Please sign in to comment.