Skip to content

Commit

Permalink
[tabulartogseachip] add versions snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
suzannejin committed Dec 13, 2024
1 parent 754d1b6 commit 5593d42
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/nf-core/custom/tabulartogseachip/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ process CUSTOM_TABULARTOGSEACHIP {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
bash: \$(echo \$(bash --version | grep -Eo 'version [[:alnum:].]+' | sed 's/version //'))
version: \$(echo $VERSION)
END_VERSIONS
"""
}
6 changes: 4 additions & 2 deletions modules/nf-core/custom/tabulartogseachip/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out.chip).match() },
{ assert file(process.out.versions[0]).text.contains('bash') }
{ assert snapshot(
process.out.chip,
process.out.versions
).match() }
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
"content": [
[
"SRP254919.salmon.merged.gene_counts.top1000cov.chip:md5,2ab8a685c675ce2fb97142526766044a"
],
[
"versions.yml:md5,8416d7d8e5723a32c360278d4a1c4597"
]
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.2"
},
"timestamp": "2024-12-13T14:25:21.122994122"
"timestamp": "2024-12-13T15:37:38.643112727"
}
}
}

0 comments on commit 5593d42

Please sign in to comment.