Salome HOME
Small refactor.
[modules/paravis.git] / test / demo12.py
index 49638dafd9794e52f0a7b9288df8053091043c89..8091f62bf98f1e8f3775f3ea5b8e24747e9586e6 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
@@ -52,7 +52,7 @@ def demo12(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__":
-    demo12(fname=testdir+"/Data/disk_out_ref.ex2", impth=testdir+"/Pic/")
+    demo12(fname=pvdata+"/Data/disk_out_ref.ex2", impth=testdir+"/Pic/")