Skip to content
Snippets Groups Projects
Commit d6dd0596 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

verify that output directory doesn't exist.

parent 3a0ac094
Branches
Tags
No related merge requests found
......@@ -12,20 +12,11 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
@pytest.mark.singleend
def test_diff_peaks_singleend_single_rep():
assert os.path.exists(os.path.join(test_output_path, 'no_diffbind.bed'))
assert os.path.exists(os.path.join(test_output_path, 'no_diffbind.csv'))
assert os.path.exists(os.path.join(test_output_path, 'no_heatmap.pdf'))
assert os.path.exists(os.path.join(test_output_path, 'no_pca.pdf'))
assert os.path.exists(os.path.join(test_output_path, 'normcount_peaksets.pdf'))
assert os.path.isdir(test_output_path) == False
@pytest.mark.pairedend
def test_annotate_peaks_pairedend_single_rep():
assert os.path.exists(os.path.join(test_output_path, 'no_diffbind.bed'))
assert os.path.exists(os.path.join(test_output_path, 'no_diffbind.csv'))
assert os.path.exists(os.path.join(test_output_path, 'no_heatmap.pdf'))
assert os.path.exists(os.path.join(test_output_path, 'no_pca.pdf'))
assert os.path.exists(os.path.join(test_output_path, 'normcount_peaksets.pdf'))
assert os.path.isdir(test_output_path) == False
@pytest.mark.singlediff
def test_diff_peaks_singleend_multiple_rep():
......
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