Salome HOME
Small refactor.
[modules/paravis.git] / test / demo6.py
index 8976c11655680483c23ddaa28af4a0b2a8090f49..d86bb26ee49b90027ed0ee057b2ca8b19c591ec3 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2015  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -72,7 +72,7 @@ def demo6(fname, impth):
 
 scriptdir = inspect.getframeinfo(inspect.currentframe())[0]
 testdir = os.path.dirname( os.path.abspath(scriptdir) )
-
+pvdata = os.getenv("SAMPLES_SRC_DIR")
 
 if __name__ == "__main__":
-    demo6(fname=testdir+"/Data/can.ex2", impth=testdir+"/Pic/")
+    demo6(fname=pvdata+"/Data/can.ex2", impth=testdir+"/Pic/")