From cfb9240666ee17f2a9216ab0ff26b57fb755cf03 Mon Sep 17 00:00:00 2001 From: Lukas Chrostowski Date: Sat, 11 Nov 2023 01:23:02 -0800 Subject: [PATCH] bug fix: snap introduced after making change to find_pins() --- klayout_dot_config/grain.xml | 2 +- klayout_dot_config/python/SiEPIC/extend.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/klayout_dot_config/grain.xml b/klayout_dot_config/grain.xml index 76f45328..dd61d51e 100644 --- a/klayout_dot_config/grain.xml +++ b/klayout_dot_config/grain.xml @@ -1,7 +1,7 @@ siepic_tools - 0.4.5 + 0.4.6 0.27 SiEPIC Tools Tools for designing Silicon Photonic Integrated Circuits, including waveguides, component simulations, functional verification, Calibre DRC verification, netlist extraction, circuit simulations. Framework and examples for creating layouts using scripts. Includes a generic PDK (GSiP). Other PDKs are installed separately, and depend on SiEPIC-Tools. diff --git a/klayout_dot_config/python/SiEPIC/extend.py b/klayout_dot_config/python/SiEPIC/extend.py index 62dca971..bf2f8553 100644 --- a/klayout_dot_config/python/SiEPIC/extend.py +++ b/klayout_dot_config/python/SiEPIC/extend.py @@ -1696,7 +1696,7 @@ def find_pins(self, verbose=False): if verbose: print("Instance.find_pins, self: %s" % self) print("Instance.find_pins, cplx_trans: %s" % self.cplx_trans) - return [pin.transform(self.cplx_trans) for pin in self.cell.find_pins(verbose)] + return [pin.transform(self.cplx_trans) for pin in self.cell.find_pins(verbose)[0]] # find the Pin's Point, whose name matches the input, for the given Instance def pinPoint(self, pin_name, verbose=False):