Salome HOME
Merge branch 'master' of ssh://git.salome-platform.org/modules/paravis
[modules/paravis.git] / test / VisuPrs / IsoSurfaces / E2.py
index d243f2020d8cec0bc43f35ccbc76e5031d6c2238..8b73d9ab9d249a09de3d4d703986e3448bb0a15b 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
 import sys
 from paravistest import datadir, pictureext, get_picture_dir
 from presentations import CreatePrsForFile, PrsTypeEnum
-import paravis
-
-# Create presentations 
-myParavis = paravis.myParavis
 
 # Directory for saving snapshots
-picturedir = get_picture_dir("IsoSurfaces/E2") 
+picturedir = get_picture_dir("IsoSurfaces/E2")
 
 file = datadir + "cas2_2d_couplage_chess_castem.med"
 print " --------------------------------- "
 print "file ", file
 print " --------------------------------- "
 print "CreatePrsForFile..."
-CreatePrsForFile(myParavis, file, [PrsTypeEnum.ISOSURFACES], picturedir, pictureext)
+CreatePrsForFile(file, [PrsTypeEnum.ISOSURFACES], picturedir, pictureext)