From f1a380b1707c15096087c8300078f1725ff9df0c Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 4 Feb 2023 09:05:34 -0800 Subject: [PATCH] pather reorganization/clenaup --- masque/builder/builder.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/masque/builder/builder.py b/masque/builder/builder.py index 46f5737..49a628d 100644 --- a/masque/builder/builder.py +++ b/masque/builder/builder.py @@ -117,6 +117,7 @@ class Builder(PortList): # (attached devices will be placed to the left) and 'B' has rotation # pi (attached devices will be placed to the right). """ + self._dead = False self.library = library if pattern is not None: self.pattern = pattern @@ -133,7 +134,6 @@ class Builder(PortList): self.pattern.ports.update(copy.deepcopy(dict(ports))) - self._dead = False @classmethod def interface( @@ -572,6 +572,7 @@ class Pather(Builder): # (attached devices will be placed to the left) and 'B' has rotation # pi (attached devices will be placed to the right). """ + self._dead = False self.library = library if pattern is not None: self.pattern = pattern @@ -593,7 +594,6 @@ class Pather(Builder): else: self.tools = dict(tools) - self._dead = False @classmethod def from_builder( @@ -643,7 +643,7 @@ class Pather(Builder): return new def __repr__(self) -> str: - s = f'' # TODO maybe show lib and tools? in builder repr? + s = f'' # TODO maybe show lib and tools? in builder repr? return s def retool(