Skip to content

Commit

Permalink
Update scripts.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasc-ubc committed Jan 18, 2025
1 parent 402b57e commit e86c3b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions klayout_dot_config/python/SiEPIC/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ def connect_pins_with_waveguide(instanceA, pinA, instanceB, pinB, waveguide = No
'''

# layout information
if not type(instanceA) == type(pya.Instance()):
raise Exception('instanceA needs to be type pya.Instance')
ly=instanceA.parent_cell.layout()
dbu=ly.dbu

Expand Down

0 comments on commit e86c3b7

Please sign in to comment.