Salome HOME
correction pb condition_context avec newJDC
[tools/eficas.git] / generator / generator_homard.py
index de1a7655d60da9cab76afda6b587673b0f8b44a3..af37cb57d738de82df25dc75ba4ace9d3e6c7187 100644 (file)
@@ -108,7 +108,7 @@ class HomardGenerator(PythonGenerator):
       self.assoc['CCGroFro']='GROUP_MA'
 #     self.assoc['CCNoChaI']='NOM_MED' (on doit aussi ajouter 'COMPOSANTE')
       self.assoc['CCNumOrI']='NUME_ORDRE'
-      self.assoc['CCNumPTI']='NUME_ORDRE'
+      self.assoc['CCNumPTI']='NUME_PAS_TEMPS'
      
       self.dico_mot_depend={}
      
@@ -133,7 +133,6 @@ class HomardGenerator(PythonGenerator):
       return s
 
    def cherche_dependance(self,mot):
-       print mot
        b_eval = 0
        a_eval=self.dico_mot_depend[mot]
        try :
@@ -219,7 +218,7 @@ class HomardGenerator(PythonGenerator):
           return None
         if (self.dico_mot_clef['COMPOSANTE']== None):
            return None
-        chaine=self.dico_mot_clef['NOM_MED']+' '+self.dico_mot_clef['COMPOSANTE']
+        chaine=self.dico_mot_clef['COMPOSANTE']+' '+self.dico_mot_clef['NOM_MED']
         return chaine
 
    def HOMaiN__(self):