From 0b2c025efdb1753ab81f0f35f743cfd8fceffc45 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Tue, 7 Feb 2017 14:53:43 +0100 Subject: [PATCH] pour lct Eficas Telemac depuis hydrosolver --- src/EFICASGUI/eficasSalome.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)] -- 2.39.2