diff --git a/src/kfactory/kcell.py b/src/kfactory/kcell.py index e5339167..5bdb2d68 100644 --- a/src/kfactory/kcell.py +++ b/src/kfactory/kcell.py @@ -1285,13 +1285,13 @@ def __getitem__( p = self.cell_ports[key] if not self.instance.is_complex(): return p.copy( - self.instance.trans - * kdb.Trans(self.instance.a * i_a + self.instance.b * i_b) + kdb.Trans(self.instance.a * i_a + self.instance.b * i_b) + * self.instance.trans ) else: return p.copy( - self.instance.dcplx_trans - * kdb.DCplxTrans(self.instance.da * i_a + self.instance.db * i_b) + kdb.DCplxTrans(self.instance.da * i_a + self.instance.db * i_b) + * self.instance.dcplx_trans ) @property diff --git a/src/kfactory/routing/generic.py b/src/kfactory/routing/generic.py index c330291a..970e5f65 100644 --- a/src/kfactory/routing/generic.py +++ b/src/kfactory/routing/generic.py @@ -373,16 +373,6 @@ def route_bundle( for router in routers: sp = start_mapping[router.start_transformation] ep = end_mapping[router.end_transformation] - routes.append( - placer_function( - c, - sp, - ep, - router.start.pts, - route_width=router.width, - **placer_kwargs, - ) - ) start_ports.append(sp) end_ports.append(ep)