From d90f16568281d5b54b15b177fb6cce14b28c2e85 Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Sat, 18 Nov 2023 06:33:49 -0500 Subject: test --- dashboard_website/router.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dashboard_website/router.py') 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 -- cgit v1.2.3