Skip to content

Commit

Permalink
SiEPIC.extend is still not safe for python import
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslima committed Dec 28, 2018
1 parent e27ad49 commit 2b29ec0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion klayout_dot_config/python/siepic_ebeam_pdk/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,12 @@ def produce_impl(self):
from SiEPIC.utils import arc_xy, arc_bezier, angle_vector, angle_b_vectors, inner_angle_b_vectors, translate_from_normal
from math import cos, sin, pi, sqrt
import pya
from SiEPIC.extend import to_itype

# from SiEPIC.extend import to_itype
def to_itype(f, dbu):
if type(f) == str:
f = float(f)
return int(round(f / dbu))

print("EBeam.Waveguide")

Expand Down

0 comments on commit 2b29ec0

Please sign in to comment.