From: mzn Date: Thu, 17 Nov 2005 14:20:36 +0000 (+0000) Subject: Fix for bug PAL10426 (SAMPLES_SRC: some examples doesn't have the correct path). X-Git-Tag: V3_1_0a3 X-Git-Url: http://git.salome-platform.org/gitweb/?p=samples%2Fdatafiles.git;a=commitdiff_plain;h=0479127830ef118be6502d73a5023bc45e64dbf9 Fix for bug PAL10426 (SAMPLES_SRC: some examples doesn't have the correct path). --- diff --git a/Superv/Graphs/testvisu20.xml b/Superv/Graphs/testvisu20.xml index 532ee48..da17ab4 100644 --- a/Superv/Graphs/testvisu20.xml +++ b/Superv/Graphs/testvisu20.xml @@ -109,7 +109,7 @@ aView ", aView ]]> - + myResult ", myResult ]]> diff --git a/Superv/Python/dataflow_calculator_example.py b/Superv/Python/dataflow_calculator_example.py index d56571f..1dc7bee 100755 --- a/Superv/Python/dataflow_calculator_example.py +++ b/Superv/Python/dataflow_calculator_example.py @@ -19,9 +19,9 @@ import batchmode_salome import SALOME_MED from batchmode_SuperV import * #============================================================================== -datadir = os.getenv("SALOMEPRO_SRC") +datadir = os.getenv("DATA_DIR") if len(datadir) != 0: - datadir=datadir+ "data/" + datadir=datadir+ "/MedFiles/" input_file = datadir+'pointe.med' print 'dataflow_calculator_example.py',input_file str= os.getenv("HOME")