summaryrefslogtreecommitdiff
path: root/dashboard_website
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard_website')
-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