update ellip_grating.py example to use new gdsii interface

This commit is contained in:
Jan Petykiewicz 2019-12-12 00:46:07 -08:00
parent df9c4b52f4
commit 0118bf0eb3

View File

@ -21,7 +21,7 @@ def main():
pat2 = pat.copy() pat2 = pat.copy()
pat2.name = 'grating2' pat2.name = 'grating2'
masque.file.gdsii.write_dose2dtype((pat, pat2), 'out.gds', 1e-9, 1e-3) masque.file.gdsii.writefile((pat, pat2), 'out.gds.gz', 1e-9, 1e-3)
if __name__ == '__main__': if __name__ == '__main__':