From 467967c4a0a3f6a31b09168f4b80a575141cc22f Mon Sep 17 00:00:00 2001
From: Andreas Freise <adf@star.bham.ac.uk>
Date: Tue, 31 Jan 2017 12:23:36 +0000
Subject: [PATCH] fixing small typos

---
 pykat/gw_detectors/finesse_files/aLIGO.kat | 2 --
 pykat/gw_detectors/ifo.py                  | 7 +++++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/pykat/gw_detectors/finesse_files/aLIGO.kat b/pykat/gw_detectors/finesse_files/aLIGO.kat
index 93cd053..88701b5 100644
--- a/pykat/gw_detectors/finesse_files/aLIGO.kat
+++ b/pykat/gw_detectors/finesse_files/aLIGO.kat
@@ -272,8 +272,6 @@ const phi_BS 0
 ###########################################################################
 %%% FTend tunings
 
-# reintroduced: errsigs, locks, powers (partial)
-
 %%% FTblock powers
 ###########################################################################
 pd P_DC_AS  nSRM2
diff --git a/pykat/gw_detectors/ifo.py b/pykat/gw_detectors/ifo.py
index b2e5c5d..191b19d 100644
--- a/pykat/gw_detectors/ifo.py
+++ b/pykat/gw_detectors/ifo.py
@@ -126,7 +126,10 @@ class aLIGO(object):
         
         for _ in inspect.getmembers(self, lambda x: isinstance(x, DOF)):
             self.__DOFs[_[0]] = _[1]
-    
+
+        self.lockNames = None
+
+                
     @property
     def DOFs(self):
         return copy.copy(self.__DOFs)
@@ -722,7 +725,7 @@ noplot {}""".format(nameDARM, nameCARM, namePRCL, nameMICH, nameSRCL)
         
     def generate_lock_block(self, kat, verbose=False):
         if self.lockNames == None or self.lockAccuracies == None or self.lockGains == None:
-            raise pkex.BasePyKatException("run gerate_locks before generate_lock_block")            
+            raise pkex.BasePyKatException("run generate_locks before generate_lock_block")            
         code1 = """###########################################################################
 set AS_f2_I_re {} re
 set CARM_err {} re
-- 
GitLab