From 731d473207edfa3d2a41f732e5b053d7e72d6645 Mon Sep 17 00:00:00 2001 From: Alex Tait Date: Fri, 14 Jun 2019 21:38:17 -0600 Subject: [PATCH] changed gdspy usage of elements to references and polygons --- lygadgets/cell_translation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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