From 3e48cc71905f13b1f8ba1a7e612bcf6d35625941 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Fri, 31 Mar 2023 13:35:18 -0700 Subject: [PATCH] Drop ports when repeating --- masque/ref.py | 1 + 1 file changed, 1 insertion(+) diff --git a/masque/ref.py b/masque/ref.py index 69b40e4..add2f7d 100644 --- a/masque/ref.py +++ b/masque/ref.py @@ -155,6 +155,7 @@ class Ref( combined = type(pattern)() for dd in self.repetition.displacements: temp_pat = pattern.deepcopy() + temp_pat.ports = {} temp_pat.translate_elements(dd) combined.append(temp_pat) pattern = combined