From af807caa3a3c0f63ef841867d34b4431d405d862 Mon Sep 17 00:00:00 2001
From: David Keitel <david.keitel@ligo.org>
Date: Thu, 13 Jul 2017 15:21:04 +0100
Subject: [PATCH] one more variable rename for clarity

---
 pyfstat/core.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyfstat/core.py b/pyfstat/core.py
index 3a6f99e..51706a3 100755
--- a/pyfstat/core.py
+++ b/pyfstat/core.py
@@ -994,7 +994,7 @@ transientTauDays={:1.3f}\n""")
     def calculate_fmin_Band(self):
         self.fmin = self.F0 - .5 * self.Band
 
-    def check_cached_data_okay_to_use(self, cl):
+    def check_cached_data_okay_to_use(self, cl_mfd):
         """ Check if cached data exists and, if it does, if it can be used """
 
         getmtime = os.path.getmtime
@@ -1020,7 +1020,7 @@ transientTauDays={:1.3f}\n""")
         cl_dump = 'lalapps_SFTdumpheader {} | head -n 20'.format(self.sftfilepath)
         output  = helper_functions.run_commandline(cl_dump)
         calls   = [line for line in output.split('\n') if line[:3] == 'lal']
-        if calls[0] == cl:
+        if calls[0] == cl_mfd:
             logging.info('Contents matched, use old sft file')
             return True
         else:
-- 
GitLab