From 56b1b344b850b0202fcdf5ca2fb3d49f421c8b60 Mon Sep 17 00:00:00 2001 From: Nate-Wessel Date: Tue, 23 Apr 2024 14:27:28 +0000 Subject: [PATCH] use adjusted tt field --- 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 2f7d2c8..bb0bf0b 100644 --- a/backend/app/get_travel_time.py +++ b/backend/app/get_travel_time.py @@ -20,7 +20,7 @@ def get_travel_time(start_node, end_node, start_time, end_time, start_date, end_ SELECT cn.dt, cn.hr, - SUM(cn.unadjusted_tt) AS corr_hourly_daily_tt + SUM(cn.tt) AS corr_hourly_daily_tt FROM congestion.network_segments_daily AS cn WHERE cn.segment_id::integer = ANY(%(seglist)s)