From e06673e15137d9cd816f881b87ef0a2e9737d854 Mon Sep 17 00:00:00 2001 From: Lodovico Rossi Date: Wed, 31 Jul 2024 14:30:52 -0400 Subject: [PATCH] Added vcell decorator to path.extrude to avoid None component name. --- gdsfactory/path.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdsfactory/path.py b/gdsfactory/path.py index 6063c6b772..cb4996b3ff 100644 --- a/gdsfactory/path.py +++ b/gdsfactory/path.py @@ -34,6 +34,7 @@ LayerSpec, WidthTypes, ) +from kfactory.kcell import vcell def _simplify(points, tolerance): @@ -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,