From 785478cea5d5c443b2e0c2ea8644522ba569ffd7 Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Wed, 9 Jan 2019 11:46:41 -0600
Subject: [PATCH] Fix number of peaks.

---
 workflow/tests/test_annotate_peaks.py | 6 +++---
 workflow/tests/test_overlap_peaks.py  | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/workflow/tests/test_annotate_peaks.py b/workflow/tests/test_annotate_peaks.py
index 30ff74f..fa5c241 100644
--- a/workflow/tests/test_annotate_peaks.py
+++ b/workflow/tests/test_annotate_peaks.py
@@ -21,8 +21,8 @@ def test_annotate_peaks_singleend():
 
 @pytest.mark.pairedend
 def test_annotate_peaks_pairedend():
-    assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA..chipseeker_pie.pdf'))
-    assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA..chipseeker_upsetplot.pdf'))
-    annotation_file = test_output_path + 'ENCSR729LGA..chipseeker_annotation.csv'
+    assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA.chipseeker_pie.pdf'))
+    assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA.chipseeker_upsetplot.pdf'))
+    annotation_file = test_output_path + 'ENCSR729LGA.chipseeker_annotation.csv'
     assert os.path.exists(annotation_file)
     assert utils.count_lines(annotation_file) == 25391
diff --git a/workflow/tests/test_overlap_peaks.py b/workflow/tests/test_overlap_peaks.py
index 99d43b8..36ed3da 100644
--- a/workflow/tests/test_overlap_peaks.py
+++ b/workflow/tests/test_overlap_peaks.py
@@ -44,4 +44,4 @@ def test_overlap_peaks_singleend():
 def test_overlap_peaks_pairedend():
     assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA.rejected.narrowPeak'))
     peak_file = test_output_path + 'ENCSR729LGA.replicated.narrowPeak'
-    assert utils.count_lines(peak_file) == 25655
+    assert utils.count_lines(peak_file) == 25878
-- 
GitLab