Skip to content

Commit

Permalink
Added vcell decorator to path.extrude to avoid None component name.
Browse files Browse the repository at this point in the history
  • Loading branch information
lodoreds committed Jul 31, 2024
1 parent 55c65c0 commit e06673e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gdsfactory/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
LayerSpec,
WidthTypes,
)
from kfactory.kcell import vcell


def _simplify(points, tolerance):
Expand Down Expand Up @@ -768,6 +769,7 @@ def _get_named_sections(sections: tuple[Section, ...]) -> dict[str, Section]:
return named_sections


@vcell
def extrude(
p: Path,
cross_section: CrossSectionSpec | None = None,
Expand Down

0 comments on commit e06673e

Please sign in to comment.