summaryrefslogtreecommitdiff
path: root/dashboard_website
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2023-11-18 06:33:49 -0500
committerAnson Bridges <bridges.anson@gmail.com>2023-11-18 06:33:49 -0500
commitd90f16568281d5b54b15b177fb6cce14b28c2e85 (patch)
treea54b4a617f02e6f5dd692446f6499e1e08f649dc /dashboard_website
parent77f0992b6c2656a2d9e451072e2949ede647de02 (diff)
test
Diffstat (limited to 'dashboard_website')
-rw-r--r--dashboard_website/router.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard_website/router.py b/dashboard_website/router.py
index 9b14e39..ed288c3 100644
--- a/dashboard_website/router.py
+++ b/dashboard_website/router.py
@@ -79,8 +79,8 @@ def cluster_and_optimize(clues: [Clue], bikes: [Bike], end: Point, time_diff=0.2
:return: a list of lists of clues (ordered by position on route), and a list of json route geojsons
"""
# OVERRIDE MAX TIME
- max_time = datetime.datetime.now() - endtime
- max_time = max_time.seconds//3600
+ #max_time = datetime.datetime.now() - endtime
+ #max_time = max_time.seconds//3600
routes = [clues] # one bike = one set of routes. only need to remove the faraway waypoints
if len(bikes) > 1:
# Create a new column with normalized gps coordinates and centroids