Salome HOME
enable make test
[modules/paravis.git] / test / VisuPrs / ScalarMap / G0.py
index 0a0789041391b9738c3d62d07d98b5f619c0b615..6a7749eb6f326bda4566f140183d9842a729a98d 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
 import sys
 from paravistest import datadir, pictureext, get_picture_dir
 from presentations import CreatePrsForFile, PrsTypeEnum
-import pvserver as paravis
-
-# Create presentations 
-myParavis = paravis.myParavis
 
 # Directory for saving snapshots
-picturedir = get_picture_dir("ScalarMap/G0") 
+picturedir = get_picture_dir("ScalarMap/G0")
 
 file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.3.med"
 print " --------------------------------- "
 print "file ", file
 print " --------------------------------- "
 print "CreatePrsForFile..."
-CreatePrsForFile(myParavis, file, [PrsTypeEnum.SCALARMAP], picturedir, pictureext)
+CreatePrsForFile(file, [PrsTypeEnum.SCALARMAP], picturedir, pictureext)