Skip to content

Commit

Permalink
changed gdspy usage of elements to references and polygons
Browse files Browse the repository at this point in the history
  • Loading branch information
atait committed Jun 15, 2019
1 parent 80e83d2 commit 731d473
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lygadgets/cell_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 731d473

Please sign in to comment.