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