From 99029edb6d3da8ce552fd1196859086176857c39 Mon Sep 17 00:00:00 2001 From: itsGarrin Date: Thu, 9 Nov 2023 15:52:55 -0500 Subject: Deleted unnecessary line --- dashboard_website/router.py | 1 - 1 file changed, 1 deletion(-) diff --git a/dashboard_website/router.py b/dashboard_website/router.py index 74ca98e..60b1128 100644 --- a/dashboard_website/router.py +++ b/dashboard_website/router.py @@ -88,7 +88,6 @@ def cluster_and_optimize(clues: [db.Clue], bikes: [db.Bike], end: db.Point, time # Remove waypoints from the longest route until the trip time is less than the max time for i in range(len(routes)): routes[i] = __remove_longest_waypoints(routes[i], bikes[i], end, max_time) - df.loc[df['gps'].astype(str).isin(map(str, routes[i])), 'cluster'] = i return routes -- cgit v1.2.3