X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2FVisuPrs%2Fdump_study%2FA6.py;h=7a024830d278f37f09efc65f30a5717c8782dd93;hb=e1f12e3e3a955aafb903f647a5398c6546250bd1;hp=1cc948833f47838f53a5e3f5bfe9edc67ae34045;hpb=15f57fb7a3bc930e468e7d0e268449c6f321ecac;p=modules%2Fparavis.git diff --git a/test/VisuPrs/dump_study/A6.py b/test/VisuPrs/dump_study/A6.py index 1cc94883..7a024830 100644 --- a/test/VisuPrs/dump_study/A6.py +++ b/test/VisuPrs/dump_study/A6.py @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2014 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 @@ -21,11 +21,8 @@ from paravistest import datadir, delete_with_inputs from presentations import * -import pvserver as 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', "Scale": 0.12929} # 1. TimeStamps.med import @@ -165,7 +162,7 @@ if abs(cur_range_min - range_min) > tolerance: if abs(cur_range_max - range_max) > tolerance: print "ERROR!!! Maximum value of range of presentation is incorrect: ", cur_range_max, " instead of ", range_max errors += 1 - + # Scale factor scale = recreated_prs.Input.ScaleFactor if abs(scale - settings["Scale"]) > tolerance: