diff --git a/src/wireviz/Harness.py b/src/wireviz/Harness.py index 6f3bbf06..5a9833d1 100644 --- a/src/wireviz/Harness.py +++ b/src/wireviz/Harness.py @@ -114,7 +114,7 @@ def create_graph(self) -> Graph: f'{pinlabel}' if pinlabel else None]) if connector.pincolors: - if not connector.pincolors[counter] == "__": + if connector.pincolors[counter] in wv_colors._color_hex.keys(): # the cell with the pincolor string and # the cell with the color box # need to be separate, since GraphViz