From: mpv Date: Mon, 23 May 2016 06:59:42 +0000 (+0300) Subject: Return the "Platine" debug info for unit tests X-Git-Tag: V_2.3.1~76 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4e2f74ad50b56271e6644b01cac5c7d9614ad9b9;p=modules%2Fshaper.git Return the "Platine" debug info for unit tests --- diff --git a/src/PythonAPI/examples/Platine.py b/src/PythonAPI/examples/Platine.py index bb22d2882..9ff45cca5 100644 --- a/src/PythonAPI/examples/Platine.py +++ b/src/PythonAPI/examples/Platine.py @@ -207,12 +207,12 @@ model.do() # START DEBUG PURPOSES # prepare a study without last operation to trap floating problem with degenerated line -#aPathToStore = os.path.join(os.getcwd(), "Data") -#print aPathToStore -#if not os.path.exists(aPathToStore): -# os.mkdir(aPathToStore) -#results = ModelAPI.StringList() -#ModelAPI.ModelAPI_Session.get().save(aPathToStore, results) +aPathToStore = os.path.join(os.getcwd(), "Data") +print aPathToStore +if not os.path.exists(aPathToStore): + os.mkdir(aPathToStore) +results = ModelAPI.StringList() +ModelAPI.ModelAPI_Session.get().save(aPathToStore, results) # END DEBUG PURPOSES b4 = body_4()