From ba769bccc95e2a8d8650414cffa6875a3a1208a5 Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Sun, 13 Jan 2019 16:02:08 -0600
Subject: [PATCH] Add return back to xcor.

---
 workflow/scripts/xcor.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/workflow/scripts/xcor.py b/workflow/scripts/xcor.py
index d063739..ac2ff65 100644
--- a/workflow/scripts/xcor.py
+++ b/workflow/scripts/xcor.py
@@ -26,7 +26,7 @@ logger.setLevel(logging.INFO)
 # strip_extensions strips from the right inward, so
 # the expected right-most extensions should appear first (like .gz)
 # Modified from J. Seth Strattan
-STRIP_EXTENSIONS = ['.gz', '.tagAlign', '.bedse', 'bedpe']
+STRIP_EXTENSIONS = ['.gz', '.tagAlign', '.bedse', '.bedpe']
 
 
 def get_args():
@@ -113,6 +113,8 @@ def xcor(tag, paired):
          cc_plot_filename, cc_scores_filename)
     ])
 
+    return cc_scores_filename
+
 
 
 def main():
-- 
GitLab