Salome HOME
Set dev version marker to 1.
[modules/paravis.git] / test / VisuPrs / imps / A6.py
index 0d16c46942de69c456d439b5af08f8bd1dcb849b..ecdebe673400c58c76876f375bfe8a9ae5167bfa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2016  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
 
 from paravistest import datadir
 from presentations import *
-import pvserver as paravis
 import pvsimple
 
-my_paravis = paravis.myParavis
 error =0
 
 # Import MED file
 file_path = datadir + "Bug891_Box.resu.med"
-OpenDataFile(file_path)
+pvsimple.OpenDataFile(file_path)
 med_reader = pvsimple.GetActiveSource()
 
 if med_reader is None:
@@ -41,10 +39,9 @@ scalarmap = ScalarMapOnField(med_reader, EntityType.NODE, 'RESUMECAEQUI_ELGA_SIG
 if scalarmap is None:
     print "Error!!! ScalarMap is not created"
     error = error+1
-    
+
 scalarmap.Visibility = 1
 reset_view()
 
 if error > 0:
     raise RuntimeError, "There is(are) some error(s) was(were) found... For more info see ERRORs above..."
-