From 556780709c8c09fcda6ce061795e9c6e98136f76 Mon Sep 17 00:00:00 2001 From: mkr Date: Fri, 3 Nov 2006 13:06:06 +0000 Subject: [PATCH] A one simple modification for TUI scripts. --- src/VISU_SWIG/visu_succcessive_animation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VISU_SWIG/visu_succcessive_animation.py b/src/VISU_SWIG/visu_succcessive_animation.py index 19b51004..08509e01 100644 --- a/src/VISU_SWIG/visu_succcessive_animation.py +++ b/src/VISU_SWIG/visu_succcessive_animation.py @@ -41,7 +41,7 @@ time.sleep(aDelay) medFile = "TimeStamps.med" myFieldName = "temperature" -medFile = os.getenv('DATA_DIR') + medFile +medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFile myResult = myVisu.ImportFile(medFile) anAnim = myVisu.CreateAnimation(myView); @@ -56,7 +56,7 @@ print "addField 1 : ", anAnim.addField(aSObj) medFile1 = "TimeStamps_import22.med" myFieldName1 = "pression" -medFile1 = os.getenv('DATA_DIR') + medFile1 +medFile1 = os.getenv('DATA_DIR') + '/MedFiles/' + medFile1 myResult1 = myVisu.ImportFile(medFile1) aSObj1 = myStudy.FindObjectIOR(myResult1.GetID()) -- 2.39.2