Salome HOME
Copyrights update 2015.
[modules/paravis.git] / test / VisuPrs / dump_study / A4.py
index ea9fe4752a8c182b2605b47aec64ca11a3d12db0..2563c7da59ccbb8a3502b2aad1aaf5ed2e919b8d 100644 (file)
@@ -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
@@ -21,7 +21,7 @@
 
 from paravistest import datadir, delete_with_inputs
 from presentations import *
-import paravis
+import pvserver as paravis
 from pvsimple import *
 
 my_paravis = paravis.myParavis
@@ -30,7 +30,7 @@ settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 1), "Posi
 
 # 1. TimeStamps.med import
 file_path = datadir + "TimeStamps.med"
-my_paravis.ImportFile(file_path)
+OpenDataFile(file_path)
 med_reader = GetActiveSource()
 if med_reader is None :
     raise RuntimeError, "TimeStamps.med wasn't imported..."