File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -850,8 +850,8 @@ def _add_box(
850850 off : int ,
851851 x_pos : float ,
852852 y_pos : float ,
853- input_nouns : list [str ] = None
854- ) -> tuple [list [int ], int , list [str ]]:
853+ input_nouns : list [int ] = None
854+ ) -> tuple [list [int ], int , list [int ]]:
855855 """Add a box to the graph, creating necessary wire endpoints.
856856
857857 Returns
@@ -957,7 +957,6 @@ def _add_box(
957957 return (scan [:off ] + scan_insert + scan [off + len (box .dom ):],
958958 box_ind , input_nouns )
959959
960-
961960 def _make_space_for_frame (self ,
962961 scan : list [int ],
963962 off : int ,
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def draw_wire(self,
126126 color_id : int = 0 ,
127127 ** params ) -> None :
128128
129- color = self ._get_wire_color (color_id , ** params )
129+ # color = self._get_wire_color(color_id, **params)
130130 out = (- 90 if not bend_out or source [0 ] == target [0 ]
131131 else (180 if source [0 ] > target [0 ] else 0 ))
132132 inp = (90 if not bend_in or source [0 ] == target [0 ]
You can’t perform that action at this time.
0 commit comments