From 4e2f74ad50b56271e6644b01cac5c7d9614ad9b9 Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 23 May 2016 09:59:42 +0300 Subject: [PATCH] Return the "Platine" debug info for unit tests --- src/PythonAPI/examples/Platine.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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() -- 2.39.2