]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
la fonction run marche et lance bien MAP
authorLUCIE BERTHON <C41270@dsp0887684.atlas.edf.fr>
Mon, 10 Sep 2018 10:13:23 +0000 (12:13 +0200)
committerLUCIE BERTHON <C41270@dsp0887684.atlas.edf.fr>
Mon, 10 Sep 2018 10:13:23 +0000 (12:13 +0200)
MapIdentification/mesScripts_MAPIDENTIFICATION.py

index ac11603209e5b08855c22a8d29f439babbef4bb9..c39f5d81d193d7406dd9145119203e0f4e77ab38 100644 (file)
@@ -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)