From 715d28353429f4a0d09f3ff05a904518137b9006 Mon Sep 17 00:00:00 2001 From: Richard Christie Date: Tue, 5 Jul 2022 10:43:38 +1200 Subject: [PATCH] Fix accessory lobe surface with open fissures --- src/scaffoldmaker/meshtypes/meshtype_3d_lung2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scaffoldmaker/meshtypes/meshtype_3d_lung2.py b/src/scaffoldmaker/meshtypes/meshtype_3d_lung2.py index 7d3f7bfb..596643d4 100644 --- a/src/scaffoldmaker/meshtypes/meshtype_3d_lung2.py +++ b/src/scaffoldmaker/meshtypes/meshtype_3d_lung2.py @@ -824,7 +824,7 @@ def defineFaceAnnotations(cls, region, options, annotationGroups): group2d_exterior = fm.createFieldAnd(group2d, is_exterior) surfaceGroup = findOrCreateAnnotationGroupForTerm(annotationGroups, region, get_lung_term(term + " surface")) - if not openFissures: + if (not openFissures) or (term == "right lung accessory lobe"): surfaceGroup.getMeshGroup(mesh2d).addElementsConditional(group2d_exterior) lobe_exterior.update({term + " surface": group2d_exterior})