From f65377da291668b31ea097e46c84b7098e7a6419 Mon Sep 17 00:00:00 2001 From: LUCIE BERTHON Date: Mon, 10 Sep 2018 12:13:23 +0200 Subject: [PATCH] la fonction run marche et lance bien MAP --- MapIdentification/mesScripts_MAPIDENTIFICATION.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MapIdentification/mesScripts_MAPIDENTIFICATION.py b/MapIdentification/mesScripts_MAPIDENTIFICATION.py index ac116032..c39f5d81 100644 --- a/MapIdentification/mesScripts_MAPIDENTIFICATION.py +++ b/MapIdentification/mesScripts_MAPIDENTIFICATION.py @@ -189,6 +189,8 @@ def run(listeParam): print "on rentre dans run" command_file=listeParam[0].fichier command_file = comm2MAPinput(command_file) + + os.chdir(os.getenv('OLDPWD')) command = "map -r sappli run -n c_solver_constitutive_law_0d -i " + command_file print(command) os.system(command) -- 2.39.2