Skip to content

Commit

Permalink
chore: Update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Sep 27, 2024
1 parent 0bb85e3 commit 367b44c
Showing 1 changed file with 16 additions and 24 deletions.
40 changes: 16 additions & 24 deletions sites/main-site/src/content/blog/2024/seqera-containers-part-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -432,32 +432,24 @@ Every test has a snapshot file with the expected outputs, and the hashes if the
{/* TODO: UPDATE PERMALINK WHEN NO LONGER AN MD5 */}

In that snapshot, we also capture the versions of the dependencies for the module
([example shown for bowtie2](https://github.com/nf-core/modules/blob/5c2ab5de7e8de33ac7cab83a4cd28a4d29a84049/modules/nf-core/bowtie2/align/tests/main.nf.test.snap#L169-L186)):

```groovy title="main.nf.test.snap" {13-15}
"sarscov2 [fasta_gz] - paired-end sorted bam": {
"content": [
{
"ale": [
[
{
"id": "test",
"single_end": false
},
"test_ALEoutput.txt:md5,4abcbd60ae1dbf78138c97e5fed97f3e"
]
],
"versions": {
"ale": "20180904"
([example shown for bowtie2](https://github.com/nf-core/modules/blob/1fe2e6de89778971df83632f16f388cf845836a9/modules/nf-core/bowtie/align/tests/main.nf.test.snap#L32-L46)):

```json title="main.nf.test.snap" {4-7}
"versions": {
"content": [
{
"BOWTIE_ALIGN": {
"bowtie": "1.3.0",
"samtools": "1.16.1"
}
}
}
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "23.10.1"
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.04.4"
},
"timestamp": "2024-09-27T10:42:58.892298"
},
"timestamp": "2024-03-19T09:06:19.589167"
},
```

This gives a second level of confirmation that the containers were correctly generated.
Expand Down

0 comments on commit 367b44c

Please sign in to comment.