From c112f5f0917403a6a6c56f11e6e7337fdd67b9bf Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Wed, 31 Mar 2010 08:24:51 +0000 Subject: [PATCH] *** empty log message *** --- src/EFICASGUI/eficasSalome.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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' ): -- 2.39.2