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(
850
850
off : int ,
851
851
x_pos : float ,
852
852
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 ]]:
855
855
"""Add a box to the graph, creating necessary wire endpoints.
856
856
857
857
Returns
@@ -957,7 +957,6 @@ def _add_box(
957
957
return (scan [:off ] + scan_insert + scan [off + len (box .dom ):],
958
958
box_ind , input_nouns )
959
959
960
-
961
960
def _make_space_for_frame (self ,
962
961
scan : list [int ],
963
962
off : int ,
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def draw_wire(self,
126
126
color_id : int = 0 ,
127
127
** params ) -> None :
128
128
129
- color = self ._get_wire_color (color_id , ** params )
129
+ # color = self._get_wire_color(color_id, **params)
130
130
out = (- 90 if not bend_out or source [0 ] == target [0 ]
131
131
else (180 if source [0 ] > target [0 ] else 0 ))
132
132
inp = (90 if not bend_in or source [0 ] == target [0 ]
You can’t perform that action at this time.
0 commit comments