Skip to content

Commit eb44a43

Browse files
Remove references to other apps
Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
1 parent f44142f commit eb44a43

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

siepic_forge/component.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,9 @@
442442

443443

444444
def component(
445-
cell_name: str, technology: typing.Optional[pf.Technology] = None, tidy3d_model_kwargs: pft.kwargs_for(pf.Tidy3DModel) = {}
445+
cell_name: str,
446+
technology: typing.Optional[pf.Technology] = None,
447+
tidy3d_model_kwargs: pft.kwargs_for(pf.Tidy3DModel) = {},
446448
) -> pf.Component:
447449
"""Load a component from the default PDK library.
448450
@@ -483,6 +485,11 @@ def component(
483485
if thumbnail:
484486
c.properties.__thumbnail__ = thumbnail
485487

488+
for layer, labels in c.labels.items():
489+
for label in labels:
490+
if "lumerical" in label.text.lower():
491+
c.remove(label, layer=layer)
492+
486493
# Add ports
487494
z = technology.parametric_kwargs.get("top_oxide_thickness", -1.0)
488495
if z > 0:

0 commit comments

Comments
 (0)