diff --git a/lygadgets/cell_translation.py b/lygadgets/cell_translation.py index 360efde..4100574 100644 --- a/lygadgets/cell_translation.py +++ b/lygadgets/cell_translation.py @@ -133,7 +133,8 @@ def phidlDevice_reader(phidl_device, filename, *args, port_layer=None, **kwargs) port_layer = default_phidl_portlayer tempdevice = wop(tempdevice, layer=port_layer) # copy over from temporary device - phidl_device.elements = tempdevice.elements + phidl_device.polygons = tempdevice.polygons + phidl_device.references = tempdevice.references phidl_device.ports = tempdevice.ports phidl_device.labels = tempdevice.labels phidl_device.name = tempdevice.name