From: Jean-Philippe ARGAUD Date: Sun, 30 Sep 2012 19:32:25 +0000 (+0200) Subject: Adding use of Info observer informations X-Git-Tag: V6_6_0~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8a7695b2ad9c2f37f6ddb9e6687dd2930d30586d;p=modules%2Fadao.git Adding use of Info observer informations --- 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():