Interconnect plugin assumes netlist to be omegaconf or something similar instead of dict
Describe the bug
In the interconnect plugin, we seem to assume the netlist structure is something else than what it really is.
At least to me netlist seems to be just a dict for which these attributes don't exist.
These lines try to access .x and .y which don't exist
https://github.com/gdsfactory/gplugins/blob/4d9459df5fc96a89c1ad9cc8967d4f3389a974a6/gplugins/lumerical/interconnect.py#L173-L176
This appears something that would be catched with gdsfactory/gdsfactory#2080 easily.
Same for the line here
https://github.com/gdsfactory/gplugins/blob/4d9459df5fc96a89c1ad9cc8967d4f3389a974a6/gplugins/lumerical/interconnect.py#L84
yes, it would be great to add some tests for it
@thomasdorch
This issue is stale because it has been inactive for 60 days. Remove stale label or comment or this will be closed in 7 days.