Salome HOME
Merge from agy/feedbackads140304
[modules/paravis.git] / test / VisuPrs / StreamLines / A0.py
index 713e4bea0395076ac9dbaa3ff94bd60ea3a919c0..d36e260d6d5208a3092e32cb31bc598dbe26c35e 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2010-2012  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2014  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
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -28,7 +28,7 @@ import paravis
 
 
 # Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A0")
+picturedir = get_picture_dir("StreamLines/A0")
 
 # Create presentations
 myParavis = paravis.myParavis
@@ -39,3 +39,6 @@ print "file ", file
 print " --------------------------------- "
 print "\nCreatePrsForFile..."
 CreatePrsForFile(myParavis, file, [PrsTypeEnum.STREAMLINES], picturedir, pictureext)
+
+import time
+time.sleep(10000)