Skip to content

Commit

Permalink
🔧 fix multiple ports
Browse files Browse the repository at this point in the history
  • Loading branch information
daquintero committed Jun 8, 2024
1 parent 65aaeac commit 30568db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdsfactory/get_netlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def get_netlist(
# a bit of a hack... get the top-level port for the
# ComponentArray, by our known naming convention. I hope no one
# renames these ports!
parent_port = component[top_name]
parent_port = component[parent_port_name] # otherwise links to non existent component ports
name2port[lower_name] = parent_port
top_ports_list.add(top_name)
ports_by_type[parent_port.port_type].append(lower_name)
Expand Down

0 comments on commit 30568db

Please sign in to comment.