diff options
| -rw-r--r-- | dashboard_website/router.py | 4 |
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 |
