summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritsGarrin <garrin.shieh@gmail.com>2023-11-09 15:52:55 -0500
committeritsGarrin <garrin.shieh@gmail.com>2023-11-09 15:52:55 -0500
commit99029edb6d3da8ce552fd1196859086176857c39 (patch)
tree2fe6daac1f5b80f2c7d2a1c1724c28686830c8ef
parent4252901e1e90c802955c52f3d1bb080e073c4e62 (diff)
Deleted unnecessary line
-rw-r--r--dashboard_website/router.py1
1 files changed, 0 insertions, 1 deletions
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