Commit 82a4e5a5 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Fix tests.

parent ec22feba
Pipeline #3233 canceled with stages
in 7 seconds
......@@ -48,7 +48,7 @@ single_end_diff:
- master
script:
- nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' -resume
- pytest -m singlediff singlediff_true
- pytest -m singlediff
artifacts:
expire_in: 2 days
......@@ -72,6 +72,6 @@ single_end_skip:
- master
script:
- nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' --skipDiff true --skipMotif true -resume
- pytest -m singlediff singleskip_true
- pytest -m singleskip_true
artifacts:
expire_in: 2 days
......@@ -10,7 +10,6 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../output/diffPeaks/'
@pytest.mark.singleend
@pytest.mark.singleskip_true
def test_diff_peaks_singleend_single_rep():
assert os.path.isdir(test_output_path) == False
......@@ -21,22 +20,22 @@ def test_diff_peaks_pairedend_single_rep():
assert os.path.isdir(test_output_path) == False
@pytest.mark.singlediff_true
@pytest.mark.singlediff
def test_heatmap_singleend_multiple_rep():
assert os.path.exists(os.path.join(test_output_path, 'heatmap.pdf'))
@pytest.mark.singlediff_true
@pytest.mark.singlediff
def test_pca_singleend_multiple_rep():
assert os.path.exists(os.path.join(test_output_path, 'pca.pdf'))
@pytest.mark.singlediff_true
@pytest.mark.singlediff
def test_normcount_singleend_multiple_rep():
assert os.path.exists(os.path.join(test_output_path, 'normcount_peaksets.txt'))
@pytest.mark.singlediff_true
@pytest.mark.singlediff
def test_diffbind_singleend_multiple_rep():
if os.path.isfile(os.path.join(test_output_path, 'ENCSR272GNQ_vs_ENCSR238SGC_diffbind.bed')):
assert os.path.exists(os.path.join(test_output_path, 'ENCSR272GNQ_vs_ENCSR238SGC_diffbind.bed'))
......
Markdown is supported
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