]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Changement sur le choix des parametres
authoreficas <>
Mon, 8 Nov 2004 14:18:12 +0000 (14:18 +0000)
committereficas <>
Mon, 8 Nov 2004 14:18:12 +0000 (14:18 +0000)
Editeur/composimp.py

index 25f494a8764cebc70049dd468521ab2a89012f47..85ad0ec7b9327826867e533705749618f10d2a79 100644 (file)
@@ -270,7 +270,7 @@ class SIMPTreeItem(Objecttreeitem.AtomicObjectTreeItem):
           if encorevalide:
             type_param=param.valeur.__class__.__name__
             for typ in self.definition.type:
-                if typ=='R' and type_param=='float':
+                if typ=='R' and type_param!='str':
                     liste_param.append(param)
                 if typ=='I' and type_param=='int':
                     liste_param.append(param)