From 8a7695b2ad9c2f37f6ddb9e6687dd2930d30586d Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Sun, 30 Sep 2012 21:32:25 +0200 Subject: [PATCH] Adding use of Info observer informations --- src/daEficas/generator_adao.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/daEficas/generator_adao.py b/src/daEficas/generator_adao.py index e0eb7e6..924d4b9 100644 --- a/src/daEficas/generator_adao.py +++ b/src/daEficas/generator_adao.py @@ -334,6 +334,8 @@ class AdaoGenerator(PythonGenerator): self.text_da += "observers[\"" + observer + "\"][\"Script\"] = \"" + observers[observer]["file"] + "\"\n" if "scheduler" in observers[observer].keys(): self.text_da += "observers[\"" + observer + "\"][\"scheduler\"] = \"\"\"" + observers[observer]["scheduler"] + "\"\"\"\n" + if "info" in observers[observer].keys(): + self.text_da += "observers[\"" + observer + "\"][\"info\"] = \"\"\"" + observers[observer]["info"] + "\"\"\"\n" self.text_da += "study_config['Observers'] = observers\n" def add_observer_in_dict(self, observer, observers): @@ -357,6 +359,7 @@ class AdaoGenerator(PythonGenerator): scheduler_key_name = observer_eficas_name + "Scheduler" if scheduler_key_name in self.dictMCVal.keys(): observers[observer]["scheduler"] = self.dictMCVal[scheduler_key_name] + # Info info_key_name = observer_eficas_name + "Info" if info_key_name in self.dictMCVal.keys(): -- 2.39.2