Skip to content

Commit

Permalink
Fixed default of get_route_from_steps
Browse files Browse the repository at this point in the history
  • Loading branch information
bsnyder committed Sep 13, 2022
1 parent df950ad commit 66ce68b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gdsfactory/routing/get_route_from_steps.py
Expand Up @@ -4,7 +4,6 @@

import gdsfactory as gf
from gdsfactory.components.via_corner import via_corner
from gdsfactory.cross_section import strip
from gdsfactory.port import Port
from gdsfactory.routing.manhattan import round_corners
from gdsfactory.types import (
Expand All @@ -21,7 +20,7 @@ def get_route_from_steps(
steps: Optional[List[Dict[str, float]]] = None,
bend: ComponentSpec = "bend_euler",
taper: Optional[ComponentSpec] = "taper",
cross_section: Union[CrossSectionSpec, MultiCrossSectionAngleSpec] = strip,
cross_section: Union[CrossSectionSpec, MultiCrossSectionAngleSpec] = "strip",
**kwargs
) -> Route:
"""Returns a route formed by the given waypoints steps.
Expand Down

0 comments on commit 66ce68b

Please sign in to comment.