diff --git a/masque/file/gdsii.py b/masque/file/gdsii.py index 37559b7..0bc9656 100644 --- a/masque/file/gdsii.py +++ b/masque/file/gdsii.py @@ -86,7 +86,7 @@ def write(patterns: Pattern or List[Pattern], xy=xy_closed)) for label in pat.labels: layer, text_type = _mlayer2gds(label.layer) - xy= numpy.round([label.offset]).astype(int) + xy = numpy.round([label.offset]).astype(int) structure.append(gdsii.elements.Text(layer=layer, text_type=text_type, xy=xy, @@ -211,7 +211,7 @@ def write_dose2dtype(patterns: Pattern or List[Pattern], xy=xy_closed)) for label in pat.labels: layer, text_type = _mlayer2gds(label.layer) - xy = numpy.round([label.offset]).astype(int) + xy = numpy.round([label.offset]).astype(int) structure.append(gdsii.elements.Text(layer=layer, text_type=text_type, xy=xy,