Skip to content
Snippets Groups Projects
Commit a5928f13 authored by Jeremy Mathews's avatar Jeremy Mathews
Browse files

add plot profile test. output to experiment QC folder

parent 69aa7720
Branches
Tags
No related merge requests found
......@@ -463,7 +463,7 @@ peaksDesign = experimentPeaks
//plotProfile
process plotProfile {
publishDir "$outDir/${task.process}", mode: 'copy'
publishDir "$outDir/experimentQC", mode: 'copy'
input:
......@@ -472,7 +472,7 @@ process plotProfile {
output:
file("*.png") into plotProfile
file(".{png,gz}") into plotProfile
when:
......
#!/usr/bin/env python3
import pytest
import os
import utils
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../output/experimentQC/'
@pytest.mark.singleend
def test_plot_singleend():
assert os.path.exists(os.path.join(test_output_path, 'plotProfile.png'))
@pytest.mark.pairedend
def test_plot_pairedend():
assert os.path.exists(os.path.join(test_output_path, 'computeMatrix.gz'))
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment