Skip to content

Commit

Permalink
📝 update README and snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ddomenico committed Aug 7, 2024
1 parent f4cafa5 commit 4d5f1ef
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ More information on their [docs](https://github.com/hartwigmedical/hmftools/blob
sh tests/run_test.sh
```

To check tests and update snapshots run:
```bash
nf-test test --update-snapshot
```

### Docker

[Purple Docker image](https://hub.docker.com/r/papaemmelab/purple) was built for several platforms using [docker buildx](https://docs.docker.com/buildx/working-with-buildx/).
Expand Down
3 changes: 3 additions & 0 deletions tests/data/TEST.cobalt.ratio.pcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sampleID chrom arm start.pos end.pos n.probes mean
S1 2 p 14001 397001 340 -7.24
S1 17 p 1 397001 341 -8.813389396729216
Binary file added tests/data/TEST.cobalt.ratio.tsv.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/main.bincobalt.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ nextflow_process {
tumor = "TEST"
binProbes = 100
binLogR = 0.5
cobalt_ratio_pcf = "${projectDir}/tests/outdir/cobalt/TEST.cobalt.ratio.pcf"
cobalt_ratio_tsv = "${projectDir}/tests/outdir/cobalt/TEST.cobalt.ratio.tsv.gz"
cobalt_ratio_pcf = "${projectDir}/tests/data/TEST.cobalt.ratio.pcf"
cobalt_ratio_tsv = "${projectDir}/tests/data/TEST.cobalt.ratio.tsv.gz"
}
process {
"""
Expand Down
6 changes: 3 additions & 3 deletions tests/main.runcobalt.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"TEST.cobalt.ratio.tsv.gz:md5,87cf8451b04e4373fc4dd7ccda3e6afe"
],
"1": [
"TEST.cobalt.ratio.pcf:md5,cd95f6b56cecfd80461bf1bd13c7a9fd"
"TEST.cobalt.ratio.pcf:md5,7fa4142d0d102e1f3b633d61d154d9c0"
],
"cobalt_ratio_pcf": [
"TEST.cobalt.ratio.pcf:md5,cd95f6b56cecfd80461bf1bd13c7a9fd"
"TEST.cobalt.ratio.pcf:md5,7fa4142d0d102e1f3b633d61d154d9c0"
],
"cobalt_ratio_tsv": [
"TEST.cobalt.ratio.tsv.gz:md5,87cf8451b04e4373fc4dd7ccda3e6afe"
Expand All @@ -20,6 +20,6 @@
"nf-test": "0.9.0",
"nextflow": "24.04.4"
},
"timestamp": "2024-08-07T14:27:19.908802"
"timestamp": "2024-08-07T14:43:04.879169"
}
}

0 comments on commit 4d5f1ef

Please sign in to comment.