From c7e6df5576eb0130305c59fec2991209a8e73697 Mon Sep 17 00:00:00 2001
From: David Robert Verelst <dave@dtu.dk>
Date: Fri, 23 Jun 2017 17:38:34 +0200
Subject: [PATCH] from previous commit fix typo

---
 wetb/prepost/dlcdefs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wetb/prepost/dlcdefs.py b/wetb/prepost/dlcdefs.py
index 54fc1179..8cad56b2 100644
--- a/wetb/prepost/dlcdefs.py
+++ b/wetb/prepost/dlcdefs.py
@@ -470,7 +470,7 @@ def excel_stabcon(proot, fext='xlsx', pignore=None, pinclude=None, sheet=0,
             t0 = float(tags_dict['[t0]'])
             tags_dict['[duration]'] = str(t_stop - t0)
             # in case there is a controller input file defined
-            if ['[controller_tuning_file]'] in tags_dict:
+            if '[controller_tuning_file]' in tags_dict:
                 hs2 = hawcstab2.ReadControlTuning()
                 hs2.read_parameters(tags_dict['[controller_tuning_file]'])
                 tags_dict['[pi_gen_reg1.K]'] = hs2.pi_gen_reg1.K
-- 
GitLab