Salome HOME
Fix for bug PAL10426 ( SAMPLES_SRC: some examples doesn't have the correct path ).
[samples/datafiles.git] / Superv / Python / GraphStreamsXmlTest.py
index 37799a217e435429025d462e254d12e473da0321..08aababca9a81d37d658992259cc2a29c5d1eca4 100644 (file)
@@ -47,7 +47,9 @@ except :
 
 
 from SuperV import *
-GraphStreams = StreamGraph( '/home/Salome2/SUPERV_DataStream/SUPERV_SRC/examples/GraphStreams.xml')
+
+anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphStreams.xml'
+GraphStreams = StreamGraph( anXmlFile )
 
 GraphStreams.PrintPorts()
 GraphStreams.PrintLinks()