Skip to content

Commit

Permalink
use EXTRAPOLATED travel time, not simple sum
Browse files Browse the repository at this point in the history
Nate-Wessel committed Jun 13, 2024
1 parent b8d8fa3 commit f290d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/get_travel_time.py
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit f290d96

Please sign in to comment.