From: pascale.noyret Date: Tue, 7 Feb 2017 13:53:43 +0000 (+0100) Subject: pour lct Eficas Telemac depuis hydrosolver X-Git-Tag: V8_3_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0b2c025efdb1753ab81f0f35f743cfd8fceffc45;p=modules%2Feficas.git pour lct Eficas Telemac depuis hydrosolver --- diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index ff880fde..3d44502c 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -65,8 +65,14 @@ class MyEficas( qtEficas.Appli ): @param fichier: chemin absolu du fichier eficas a ouvrir a das le lancement. optionnel """ + #dictPathCode={'ADAO':'Adao','MT':'MT','CARMEL3D':'Carmel3D', 'CF':'CF', + # 'SPECA':'SPECA','MAP':'MAP','SEP':'SEP', 'TELEMAC':'Telemac', + # 'pytel' : 'pytel', 'telemac2d' : 'telemac2dSalome','coupling1d2d':'coupling1d2d', + # 'mascaret':'mascaret','boundary_conditions':'boundary_conditions'} + dictPathCode={'ADAO':'Adao','MT':'MT','CARMEL3D':'Carmel3D', 'CF':'CF', - 'SPECA':'SPECA','MAP':'MAP','SEP':'SEP', 'TELEMAC':'Telemac3'} + 'SPECA':'SPECA','MAP':'MAP','SEP':'SEP', 'TELEMAC':'Telemac'} + if code in dictPathCode.keys(): pathCode=dictPathCode[code] sys.path[:0]=[os.path.join(eficasConfig.eficasPath,pathCode)]