From 7bfeb98ae6b22fe4549702f260b107a8293e0eeb Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Wed, 25 Mar 2020 11:15:48 -0500
Subject: [PATCH] Update testing for paried-end.

---
 .gitlab-ci.yml                    | 4 ++--
 workflow/tests/test_diff_peaks.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c5a0ec4..99cab4a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,8 +56,6 @@ single_end_single_control:
 single_end_diff:
   stage: multiple
   only:
-    - branches
-  except:
     - master
   script:
   - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' --astrocyte false
@@ -66,6 +64,8 @@ single_end_diff:
 
 paired_end_diff:
   only:
+    - branches
+  except:
     - master
   stage: multiple
   script:
diff --git a/workflow/tests/test_diff_peaks.py b/workflow/tests/test_diff_peaks.py
index 47940c0..9e35c32 100644
--- a/workflow/tests/test_diff_peaks.py
+++ b/workflow/tests/test_diff_peaks.py
@@ -71,4 +71,4 @@ def test_diffbind_pairedend_single_rep():
         assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA_vs_ENCSR757EMK_diffbind.bed'))
         diffbind_file = test_output_path + 'ENCSR729LGA_vs_ENCSR757EMK_diffbind.csv'
     assert os.path.exists(diffbind_file)
-    assert utils.count_lines(diffbind_file) >= 65182
+    assert utils.count_lines(diffbind_file) >= 65124
-- 
GitLab