Skip to content

Commit

Permalink
test: Update versions yaml snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 26, 2024
1 parent 3211da2 commit 17be23c
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 34 deletions.
6 changes: 3 additions & 3 deletions modules/nf-core/spaceranger/count/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ nextflow_process {
assertAll(
{ assert process.success },
{ assert snapshot(
process.out.versions,
path(process.out.versions.get(0)).yaml,
process.out.outs.get(0).get(1).findAll { file(it).name !in [
'web_summary.html',
'scalefactors_json.json',
Expand Down Expand Up @@ -144,7 +144,7 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out.versions).match() }
{ assert snapshot(path(process.out.versions.get(0)).yaml).match() },
)
}
}
Expand Down Expand Up @@ -204,7 +204,7 @@ nextflow_process {
assertAll(
{ assert process.success },
{ assert snapshot(
process.out.versions,
path(process.out.versions.get(0)).yaml,
process.out.outs.get(0).get(1).findAll { file(it).name !in [
'web_summary.html',
'scalefactors_json.json',
Expand Down
30 changes: 18 additions & 12 deletions modules/nf-core/spaceranger/count/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
{
"spaceranger v1 (stub) - homo_sapiens - fasta - gtf - fastq - tif - csv": {
"content": [
[
"versions.yml:md5,2e5b126bcf8345f790566e95e88f80f5"
]
{
"SPACERANGER_COUNT": {
"spaceranger": "3.1.2"
}
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.1"
},
"timestamp": "2024-11-25T23:23:05.381760963"
"timestamp": "2024-11-26T01:48:31.348979531"
},
"spaceranger v2 - homo_sapiens - fasta - gtf - fastq - tif - csv": {
"content": [
[
"versions.yml:md5,2e5b126bcf8345f790566e95e88f80f5"
],
{
"SPACERANGER_COUNT": {
"spaceranger": "3.1.2"
}
},
[
"clusters.csv:md5,221a4554e62ea94b0df8dbf637d2c13c",
"clusters.csv:md5,53ee76645943b5562392aac51d2d9f3f",
Expand Down Expand Up @@ -62,13 +66,15 @@
"nf-test": "0.9.2",
"nextflow": "24.10.1"
},
"timestamp": "2024-11-25T22:11:25.466250328"
"timestamp": "2024-11-26T01:58:16.555517048"
},
"spaceranger v1 - homo_sapiens - fasta - gtf - fastq - tif - csv": {
"content": [
[
"versions.yml:md5,2e5b126bcf8345f790566e95e88f80f5"
],
{
"SPACERANGER_COUNT": {
"spaceranger": "3.1.2"
}
},
[
"filtered_feature_bc_matrix.h5:md5,a756f6dda550f52f9fb3e347207a2c6c",
"metrics_summary.csv:md5,38774fc5f54873d711b4898a2dd50e72",
Expand All @@ -85,6 +91,6 @@
"nf-test": "0.9.2",
"nextflow": "24.10.1"
},
"timestamp": "2024-11-25T22:00:53.207473113"
"timestamp": "2024-11-26T01:48:13.569651476"
}
}
5 changes: 4 additions & 1 deletion modules/nf-core/spaceranger/mkgtf/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
{ assert snapshot(
process.out.gtf,
path(process.out.versions.get(0)).yaml,
).match() }
)
}

Expand Down
20 changes: 7 additions & 13 deletions modules/nf-core/spaceranger/mkgtf/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
{
"homo_sapiens - gtf": {
"content": [
[
"genome.filtered.gtf:md5,50fc877b1c53b36b3b413aff88bda48c"
],
{
"0": [
"genome.filtered.gtf:md5,50fc877b1c53b36b3b413aff88bda48c"
],
"1": [
"versions.yml:md5,33fb50e717957f761c5105f641777f81"
],
"gtf": [
"genome.filtered.gtf:md5,50fc877b1c53b36b3b413aff88bda48c"
],
"versions": [
"versions.yml:md5,33fb50e717957f761c5105f641777f81"
]
"SPACERANGER_MKGTF": {
"spaceranger": "3.1.2"
}
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.1"
},
"timestamp": "2024-11-25T22:11:40.541776579"
"timestamp": "2024-11-26T01:58:29.469616437"
}
}
2 changes: 1 addition & 1 deletion modules/nf-core/spaceranger/mkref/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ nextflow_process {
assertAll(
{ assert process.success },
{ assert snapshot(
process.out.versions,
path(process.out.versions.get(0)).yaml,
"${process.out.reference[0]}/fasta",
"${process.out.reference[0]}/genes",
"${process.out.reference[0]}/reference.json",
Expand Down
10 changes: 6 additions & 4 deletions modules/nf-core/spaceranger/mkref/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"homo_sapiens - fasta - gtf": {
"content": [
[
"versions.yml:md5,b4133656390d1c5049fcab5ef228a145"
],
{
"SPACERANGER_MKREF": {
"spaceranger": "3.1.2"
}
},
[
"genome.fa:md5,f315020d899597c1b57e5fe9f60f4c3e",
"genome.fa.fai:md5,3520cd30e1b100e55f578db9c855f685"
Expand Down Expand Up @@ -33,6 +35,6 @@
"nf-test": "0.9.2",
"nextflow": "24.10.1"
},
"timestamp": "2024-11-25T22:12:02.001945821"
"timestamp": "2024-11-26T01:58:49.663386635"
}
}

0 comments on commit 17be23c

Please sign in to comment.