Skip to content

Commit

Permalink
Actually actually fix mypy typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cmalinmayor committed Nov 29, 2023
1 parent 8e2c0e3 commit a5e8d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/traccuracy/_tracking_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def set_flag_on_all_nodes(self, flag: NodeAttr, value: bool = True):
self.nodes_by_flag[flag] = set()

def set_flag_on_edge(
self, _id: tuple[Hashable], flag: EdgeAttr, value: bool = True
self, _id: tuple[Hashable, Hashable], flag: EdgeAttr, value: bool = True
):
"""Set an attribute flag for an edge.
If the flag already exists, the existing value will be overwritten.
Expand Down

1 comment on commit a5e8d62

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Mean (s) BASE ef50a44 Mean (s) HEAD a5e8d62 Percent Change
test_load_gt_data 1.27863 1.35522 5.99
test_load_pred_data 1.16853 1.19241 2.04
test_ctc_matched 2.28306 2.40001 5.12
test_ctc_metrics 0.54236 0.49698 -8.37
test_ctc_div_metrics 0.27516 0.30295 10.1
test_iou_matched 9.48363 8.92612 -5.88
test_iou_div_metrics 0.29817 0.27372 -8.2

Please sign in to comment.