Skip to content

Commit

Permalink
test: stub for custom/consensuspeaks module
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Nov 27, 2023
1 parent 707b093 commit 73705db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 1 addition & 2 deletions modules/CCBR/custom/consensuspeaks/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ process CUSTOM_CONSENSUSPEAKS {


stub:
def prefix = task.ext.prefix ?: "${meta.id}"
"""
touch ${prefix}.bed versions.yml
touch ${meta.id}.${meta.group}.consensus_peaks.bed versions.yml
"""
}
10 changes: 9 additions & 1 deletion tests/modules/CCBR/custom/consensuspeaks/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,13 @@
- "custom/consensuspeaks"
files:
- path: "output/custom/test.macs_broad.consensus_peaks.bed"
md5sum: 4d684a948335bbed948704e4be9f1abe
md5sum: 417447a3080df9d4ffa294b876dde640
- path: "output/custom/versions.yml"
- name: "custom consensuspeaks stub"
command: nextflow run ./tests/modules/CCBR/custom/consensuspeaks -entry test_custom_consensuspeaks -c ./tests/config/nextflow.config -stub
tags:
- "custom"
- "custom/consensuspeaks"
files:
- path: "output/custom/test.macs_broad.consensus_peaks.bed"
- path: "output/custom/versions.yml"

0 comments on commit 73705db

Please sign in to comment.