X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2FVisuPrs%2Fdump_study%2FA5.py;h=4a6583af3875c2c5e9f732c9f87926a872a3c3bb;hb=e1f12e3e3a955aafb903f647a5398c6546250bd1;hp=a257838604ec1bea0e3c9b8225ef068a6699ecd1;hpb=f284847a1f9ec2519639285396adf10a84903eea;p=modules%2Fparavis.git diff --git a/test/VisuPrs/dump_study/A5.py b/test/VisuPrs/dump_study/A5.py index a2578386..4a6583af 100644 --- a/test/VisuPrs/dump_study/A5.py +++ b/test/VisuPrs/dump_study/A5.py @@ -1,9 +1,9 @@ -# Copyright (C) 2010-2013 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 # 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 @@ -21,16 +21,13 @@ from paravistest import datadir, delete_with_inputs from presentations import * -import paravis from pvsimple import * -my_paravis = paravis.myParavis - settings = {"Offset": [0.0001, 0.0002, 0], "ScalarMode": ("Component", 2), "Position": [0.1, 0.2], "Size": [0.15, 0.25], "Discretize": 1, "NbColors": 44, "NbLabels": 22, "Title": "My presentation", "UseLogScale": 1, "Orientation": 'Horizontal', "ScaleFactor": 0.25, "NbContours": 4} # 1. TimeStamps.med import file_path = datadir + "fra.med" -my_paravis.ImportFile(file_path) +OpenDataFile(file_path) med_reader = GetActiveSource() if med_reader is None : raise RuntimeError, "TimeStamps.med wasn't imported..."