From 20a9530b9b53f223823da82109070ceb1b8b9b6c Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 19 Oct 2005 13:59:16 +0000 Subject: [PATCH] Movement of examples to CVS EXAMPLES SAMPLES_SRC. --- src/SALOME_SWIG/salome_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SALOME_SWIG/salome_test.py b/src/SALOME_SWIG/salome_test.py index a1e63a6cc..c1a6d562b 100755 --- a/src/SALOME_SWIG/salome_test.py +++ b/src/SALOME_SWIG/salome_test.py @@ -272,10 +272,10 @@ def addStudy(ior): anIOR.SetValue(dataflow.getIOR()) import os -dir= os.getenv("SUPERV_ROOT_DIR") +dir= os.getenv("DATA_DIR") if dir == None: - raise RuntimeError, "SUPERV_ROOT_DIR is not defined" -xmlfile = dir +"/examples/GraphGeomEssai.xml" + raise RuntimeError, "DATA_DIR is not defined" +xmlfile = dir +"/Graphs/GraphGeomEssai.xml" print "Load dataflow from the file : " print xmlfile print @@ -432,7 +432,7 @@ import VISU import visu_gui medFileName = "pointe.med" -medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFileName +medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFileName print "Load ", medFile studyCurrent = salome.myStudyName -- 2.39.2