From f588698b05352bb5a7117900e8443da00fe798d9 Mon Sep 17 00:00:00 2001 From: Caroline Malin-Mayor Date: Tue, 17 Sep 2024 13:58:43 -0400 Subject: [PATCH] Fix mypy error --- src/motile_toolbox/candidate_graph/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motile_toolbox/candidate_graph/utils.py b/src/motile_toolbox/candidate_graph/utils.py index 1e5d2e2..efa48d8 100644 --- a/src/motile_toolbox/candidate_graph/utils.py +++ b/src/motile_toolbox/candidate_graph/utils.py @@ -130,7 +130,7 @@ def nodes_from_points_list( if scale is not None: assert ( len(scale) == points_list.shape[1] - ), f"Cannot scale points with {points_list.size[1]} dims by factor {scale}" + ), f"Cannot scale points with {points_list.shape[1]} dims by factor {scale}" points_list = points_list * np.array(scale) # add points to graph