from ipkiss.technology import get_technology
from ..components.waveguides.waveguide_traces import WG_TMPL
from ..components.waveguides.waveguide_transitions import LinearTransitionFromPort

TECH = get_technology()
db = TECH.PCELLS.TRANSITION.AUTO_TRANSITION_DATABASE
db.add(WG_TMPL, WG_TMPL, LinearTransitionFromPort)
# These two trace templates are identical if you look at the windows,
# so we can treat them as equal for transitioning purposes
# db.treat_trace_template_as(SWG450, StripWaveguideTemplate)
# db.treat_trace_template_as(RWG550, RibWaveguideTemplate)
