Skip to content

Commit

Permalink
remove deprecated decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Apr 27, 2024
1 parent 8d06c09 commit bb06264
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gplugins/tidy3d/get_simulation_grating_coupler.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,11 @@ def get_simulation_grating_coupler(
)

component_padding = layer_stack.get_component_with_derived_layers(
component, decorator=add_padding_custom
component,
)

component_padding = add_padding_custom(component_padding)

component_extended = (
gf.components.extend_ports(
component=component_padding,
Expand Down

0 comments on commit bb06264

Please sign in to comment.