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

Merge branch '34-yaml_reader_fix' into 'master'

Update tests and import of yaml.

Closes #34

See merge request !24
parents 9eb09c23 302a2915
Branches
Tags
No related merge requests found
...@@ -24,7 +24,7 @@ def test_upsetplot_singleend(): ...@@ -24,7 +24,7 @@ def test_upsetplot_singleend():
def test_annotation_singleend(): def test_annotation_singleend():
annotation_file = test_output_path + 'ENCSR238SGC.chipseeker_annotation.tsv' annotation_file = test_output_path + 'ENCSR238SGC.chipseeker_annotation.tsv'
assert os.path.exists(annotation_file) assert os.path.exists(annotation_file)
assert utils.count_lines(annotation_file) == 152255 assert utils.count_lines(annotation_file) == 149284
@pytest.mark.pairedend @pytest.mark.pairedend
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
import pytest import pytest
import os import os
import utils import utils
import yaml
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../output/softwareReport/' '/../output/softwareReport/'
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
import pytest import pytest
import os import os
import utils import utils
import yaml
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../output/softwareReport/' '/../output/softwareReport/'
......
...@@ -37,7 +37,7 @@ def test_check_update_design(design_diff): ...@@ -37,7 +37,7 @@ def test_check_update_design(design_diff):
def test_overlap_peaks_singleend(): def test_overlap_peaks_singleend():
assert os.path.exists(os.path.join(test_output_path, 'ENCSR238SGC.rejected.narrowPeak')) assert os.path.exists(os.path.join(test_output_path, 'ENCSR238SGC.rejected.narrowPeak'))
peak_file = test_output_path + 'ENCSR238SGC.replicated.narrowPeak' peak_file = test_output_path + 'ENCSR238SGC.replicated.narrowPeak'
assert utils.count_lines(peak_file) == 152262 assert utils.count_lines(peak_file) == 149291
@pytest.mark.pairedend @pytest.mark.pairedend
......
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