X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2FVisuPrs%2FGaussPoints%2FB9.py;h=440841efd2d34f48a5208f47b5a06a892f24c7ba;hb=7cbbd61df3f61d6f3f766b890af5352960bbaa1e;hp=c28300b218c1ac1ccfae506af63492303fd2b320;hpb=c7c9039d845fb2a5e2eb391139af089b4bed26a5;p=modules%2Fparavis.git diff --git a/test/VisuPrs/GaussPoints/B9.py b/test/VisuPrs/GaussPoints/B9.py old mode 100644 new mode 100755 index c28300b2..440841ef --- a/test/VisuPrs/GaussPoints/B9.py +++ b/test/VisuPrs/GaussPoints/B9.py @@ -1,9 +1,9 @@ -# Copyright (C) 2010-2013 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 @@ -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()