From: akl Date: Tue, 25 Mar 2014 10:31:52 +0000 (+0400) Subject: Correct extraction of groups X-Git-Tag: V7_4_0rc1~4^2~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1fed7cdc7fedf2814d56618d2d3c5f82563d95c;p=modules%2Fparavis.git Correct extraction of groups --- diff --git a/test/VisuPrs/bugs/B1.py b/test/VisuPrs/bugs/B1.py index ea667471..110429ce 100644 --- a/test/VisuPrs/bugs/B1.py +++ b/test/VisuPrs/bugs/B1.py @@ -43,10 +43,9 @@ else: print "OK" # 2. Creation of presentation of each group -groups_on_cells = get_group_names(med_reader, "MAILLAGE_01_001", EntityType.CELL, wo_nogroups=True) -groups_on_nodes = get_group_names(med_reader, "MAILLAGE_01_001", EntityType.NODE, wo_nogroups=True) - -groups = groups_on_cells + groups_on_nodes +extGrp = pvs.ExtractGroup() +extGrp.UpdatePipelineInformation() +groups = get_group_names(extGrp) errors = 0 i = 0 @@ -54,7 +53,7 @@ for group in groups: i += 1 shor_name = group.split('/')[-1] print "group: ", shor_name - prs = MeshOnGroup(med_reader, group) + prs = MeshOnGroup(med_reader, extGrp, group) if prs is None : print "FAILED!!! Created presentation is None!!!"