X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2FVisuPrs%2Fdump_study%2FB0.py;h=3d6062bdcecdda25ffda8ce665c6b8465ac52906;hb=3fbdb519d980fba1f1d941007af8b4046c2a8d5b;hp=452447f5430d215b61ef3b5387496de8e8a4e816;hpb=216b73d56a11d0b5f0ef26acfd85936f92c5f8ac;p=modules%2Fparavis.git diff --git a/test/VisuPrs/dump_study/B0.py b/test/VisuPrs/dump_study/B0.py index 452447f5..3d6062bd 100644 --- a/test/VisuPrs/dump_study/B0.py +++ b/test/VisuPrs/dump_study/B0.py @@ -21,11 +21,8 @@ from paravistest import datadir from presentations import * -import pvserver as paravis from pvsimple import * -my_paravis = paravis.myParavis - # 1. TimeStamps.med import file_path = datadir + "TimeStamps.med" OpenDataFile(file_path) @@ -43,10 +40,10 @@ med_field = "vitesse" for name in prs_names: print "Creation of ", name, " presentation..." if name == "GaussPoints": - prs = GaussPointsOnField(med_reader, EntityType.CELL, "pression", 1) - pass - else: - prs = eval(name + "OnField(med_reader, EntityType.NODE, med_field, 1)") + prs = GaussPointsOnField(med_reader, EntityType.CELL, "pression", 1) + pass + else: + prs = eval(name + "OnField(med_reader, EntityType.NODE, med_field, 1)") if prs is None: print "ERROR!!! ", name," presentation wasn't created..." errors += 1