Skip to content

Commit a6ebc18

Browse files
authored
[SCFD-7343] Ignore the Geometry resource created from surface mesh that does not have any edge group (#1732)
1 parent c143e3c commit a6ebc18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

flow360/component/simulation/entity_info.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,10 @@ def merge_geometry_entity_info(
777777
# 2. Compute intersection of attribute names from entity_info_components
778778
body_attr_sets = [set(ei.body_attribute_names) for ei in entity_info_components]
779779
face_attr_sets = [set(ei.face_attribute_names) for ei in entity_info_components]
780-
edge_attr_sets = [set(ei.edge_attribute_names) for ei in entity_info_components]
780+
# Ignore the Geometry resource created from surface mesh that does not have any edge group
781+
edge_attr_sets = [
782+
set(ei.edge_attribute_names) for ei in entity_info_components if ei.edge_attribute_names
783+
]
781784

782785
body_attr_intersection = set.intersection(*body_attr_sets) if body_attr_sets else set()
783786
face_attr_intersection = set.intersection(*face_attr_sets) if face_attr_sets else set()

0 commit comments

Comments
 (0)