From b98553a7709c85084fb69ffcadf463d71d0eb3c9 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Wed, 12 Aug 2020 21:42:57 -0700 Subject: [PATCH] set repetition on subpattern --- masque/file/gdsii.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/masque/file/gdsii.py b/masque/file/gdsii.py index a8a583d..353bb74 100644 --- a/masque/file/gdsii.py +++ b/masque/file/gdsii.py @@ -376,7 +376,8 @@ def _ref_to_subpat(element: Union[gdsii.elements.SRef, offset=offset, rotation=rotation, scale=scale, - mirrored=(mirror_across_x, False)) + mirrored=(mirror_across_x, False), + repetition=repetition) subpat.identifier = (element.struct_name,) return subpat