Skip to content

Commit

Permalink
fix MZI output folder (#117)
Browse files Browse the repository at this point in the history
Co-authored-by: lukasc-ubc <[email protected]>
  • Loading branch information
lukasc-ubc and lukasc-ubc authored May 16, 2024
1 parent d78669c commit 5d61d7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Binary file modified submissions/EBeam_LukasChrostowski_MZI.oas
Binary file not shown.
5 changes: 2 additions & 3 deletions submissions/KLayout Python/EBeam_LukasChrostowski_MZI.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
{'waveguide_type':waveguide_type_delay,
'length':200,
'flatten':True})
x,y = 60000, 175000
x,y = 60000, 205000
t = Trans(Trans.R0,x,y)
instGC1 = cell.insert(CellInstArray(cell_ebeam_gc.cell_index(), t))
t = Trans(Trans.R0,x,y+127000)
Expand Down Expand Up @@ -160,8 +160,7 @@
zoom_out(cell)

# Export for fabrication, removing PCells
#path = os.path.dirname(os.path.realpath(__file__))
path = os.path.abspath('')
path = os.path.dirname(os.path.realpath(__file__))
filename = os.path.splitext(os.path.basename(__file__))[0]
if export_type == 'static':
file_out = export_layout(cell, path, filename, relative_path = '..', format='oas', screenshot=True)
Expand Down

0 comments on commit 5d61d7a

Please sign in to comment.