From a1fed7cdc7fedf2814d56618d2d3c5f82563d95c Mon Sep 17 00:00:00 2001 From: akl Date: Tue, 25 Mar 2014 14:31:52 +0400 Subject: [PATCH] Correct extraction of groups --- test/VisuPrs/bugs/B1.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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!!!" -- 2.39.2