fix spacing (cosmetic)

This commit is contained in:
Jan Petykiewicz 2018-10-28 13:31:23 -07:00
parent a064e74fc1
commit 64cb1ced34

View File

@ -86,7 +86,7 @@ def write(patterns: Pattern or List[Pattern],
xy=xy_closed)) xy=xy_closed))
for label in pat.labels: for label in pat.labels:
layer, text_type = _mlayer2gds(label.layer) 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, structure.append(gdsii.elements.Text(layer=layer,
text_type=text_type, text_type=text_type,
xy=xy, xy=xy,
@ -211,7 +211,7 @@ def write_dose2dtype(patterns: Pattern or List[Pattern],
xy=xy_closed)) xy=xy_closed))
for label in pat.labels: for label in pat.labels:
layer, text_type = _mlayer2gds(label.layer) 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, structure.append(gdsii.elements.Text(layer=layer,
text_type=text_type, text_type=text_type,
xy=xy, xy=xy,