From 0ee7bca0a80a341c0d69918bf5b03ebe46ea3dbb Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Wed, 15 Nov 2017 14:00:32 -0600
Subject: [PATCH] Fix naming schema of xcor.

---
 workflow/scripts/call_peaks_macs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/workflow/scripts/call_peaks_macs.py b/workflow/scripts/call_peaks_macs.py
index 37ac6ac..7bcd8fa 100644
--- a/workflow/scripts/call_peaks_macs.py
+++ b/workflow/scripts/call_peaks_macs.py
@@ -8,7 +8,7 @@ import shutil
 import logging
 from multiprocessing import cpu_count
 import utils
-from xcor import xcor
+from xcor import xcor as calcualte_xcor
 
 EPILOG = '''
 For more details:
@@ -256,7 +256,7 @@ def main():
 
     # Calculate Cross-correlation if not already calcualted
     if xcor == 'Calculate':
-        xcor_file = xcor(tag, paired)
+        xcor_file = calculate_xcor(tag, paired)
     else:
         xcor_file = xcor
 
-- 
GitLab