From: Pascale Noyret Date: Wed, 31 Mar 2010 08:24:51 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_3^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c112f5f0917403a6a6c56f11e6e7337fdd67b9bf;p=modules%2Feficas.git *** empty log message *** --- diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index ae6afa46..d3561dc0 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -53,7 +53,11 @@ class MyEficas( qtEficas.Appli ): @param fichier: chemin absolu du fichier eficas a ouvrir a das le lancement. optionnel """ - pathCode=code[0]+code[1:].lower() + #bidouille pour OpenTurns + if code.find('_') > 0 : + pathCode="Openturns_"+code[10]+code[11:].lower() + else: + pathCode=code[0]+code[1:].lower() sys.path[:0]=[os.path.join(eficasConfig.eficasPath,pathCode)] if Editeur.__dict__.has_key( 'session' ):