From: Pascale Noyret Date: Mon, 8 Nov 2010 14:46:33 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_5~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=51e8f80df36b57f8602581f5e56f2bd3f920a002;p=tools%2Feficas.git *** empty log message *** --- diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index db184cd5..9d6d2952 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -58,10 +58,9 @@ class MyEficas( qtEficas.Appli ): """ #bidouille pour OpenTurns - if code.find('_') > 0 : - pathCode="Openturns_"+code[10]+code[11:].lower() - else: - pathCode=code[0]+code[1:].lower() + dictPathCode={'ASTER':'Aster','OPENTURNS_STUDY':'Openturns_Study', + 'OPENTURNS_WRAPPER':'Openturns_Wrapper','MAP':'MAP'} + pathCode=dictPathCode[code] sys.path[:0]=[os.path.join(eficasConfig.eficasPath,pathCode)] if Editeur.__dict__.has_key( 'session' ):