Salome HOME
Copyright update: 2016
[modules/paravis.git] / test / VisuPrs / StreamLines / F4.py
index a826175f72a199424634c7e6dcdb644cb9cacd43..54b91c2215b5d19a740fff854fb5e126782af9a3 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
@@ -24,18 +24,13 @@ import sys
 
 from paravistest import datadir, pictureext, get_picture_dir
 from presentations import CreatePrsForFile, PrsTypeEnum
-import paravis
-
 
 # Directory for saving snapshots
 picturedir = get_picture_dir("StreamLines/F4")
 
-# Create presentations
-myParavis = paravis.myParavis
-
 file = datadir +  "UO2_250ans.med"
 print " --------------------------------- "
 print "file ", file
 print " --------------------------------- "
 print "\nCreatePrsForFile..."
-CreatePrsForFile(myParavis, file, [PrsTypeEnum.STREAMLINES], picturedir, pictureext)
+CreatePrsForFile(file, [PrsTypeEnum.STREAMLINES], picturedir, pictureext)