Salome HOME
Merge branch 'V7_3_1_BR' into akl/tests_update
[modules/paravis.git] / test / VisuPrs / GaussPoints / B9.py
index 115250eebb692f5ac503a7a50b6c8bc597c5a8b8..a0ee7766f2510ebc378ce8bca2ba3474aa9ff9f1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2012  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2013  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
@@ -30,14 +30,14 @@ import pvsimple
 
 
 # Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B9")
+picturedir = get_picture_dir("GaussPoints/B9")
 if not picturedir.endswith(os.sep):
     picturedir += os.sep
     
 # MED file
 file_name = datadir + "test_hydro.med"
 field_name = "Head"
-timestamp_nb = 1
+timestamp_nb = -1 # last timestamp
 
 paravis.myParavis.ImportFile(file_name)
 med_reader = pvsimple.GetActiveSource()