From f290d965d83b0bf7f240e37a788847b17f670d8c Mon Sep 17 00:00:00 2001 From: Nate-Wessel Date: Thu, 13 Jun 2024 19:49:03 +0000 Subject: [PATCH] use EXTRAPOLATED travel time, not simple sum --- backend/app/get_travel_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/get_travel_time.py b/backend/app/get_travel_time.py index c3fde82..fe132b8 100644 --- a/backend/app/get_travel_time.py +++ b/backend/app/get_travel_time.py @@ -101,7 +101,7 @@ def get_travel_time(start_node, end_node, start_time, end_time, start_date, end_ # convert to format that can be used by the same summary function sample = [] for tup in observations.itertuples(): - (dt, hr), tt = tup.Index, tup.tt + (dt, hr), tt = tup.Index, tup.tt_extrapolated sample.append((dt, tt)) if len(sample) < 1: