From fcc47705344e9aa3784d52bdb8f27dc88b79c934 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Wed, 11 Dec 2019 21:16:31 -0800 Subject: [PATCH] Mirroring fix for gdsii import --- masque/file/gdsii.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/file/gdsii.py b/masque/file/gdsii.py index 5a891ef..3766872 100644 --- a/masque/file/gdsii.py +++ b/masque/file/gdsii.py @@ -379,7 +379,7 @@ def _sref_to_subpat(element: gdsii.elements.SRef) -> SubPattern: raise PatternError('Absolute rotation is not implemented yet!') # Bit 0 means mirror x-axis if get_bit(element.strans, 15 - 0): - subpat.mirror(axis=0) + subpat.mirrored[0] = 1 return subpat