From 60f9e641d28317a6389085b441ed7d1205d2c109 Mon Sep 17 00:00:00 2001 From: Sanghyuk Lee Date: Fri, 7 Mar 2025 11:17:25 +0900 Subject: [PATCH] Replace double quotes in query with single ones --- nuplan/database/nuplan_db/nuplan_scenario_queries.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nuplan/database/nuplan_db/nuplan_scenario_queries.py b/nuplan/database/nuplan_db/nuplan_scenario_queries.py index b717e9fa..119bfaf9 100644 --- a/nuplan/database/nuplan_db/nuplan_scenario_queries.py +++ b/nuplan/database/nuplan_db/nuplan_scenario_queries.py @@ -609,9 +609,9 @@ def get_traffic_light_status_for_lidarpc_token_from_db( :return: The traffic light status data associated with the given lidar_pc. """ query = """ - SELECT CASE WHEN tl.status == "green" THEN 0 - WHEN tl.status == "yellow" THEN 1 - WHEN tl.status == "red" THEN 2 + SELECT CASE WHEN tl.status == 'green' THEN 0 + WHEN tl.status == 'yellow' THEN 1 + WHEN tl.status == 'red' THEN 2 ELSE 3 END AS status, tl.lane_connector_id,