From bba5d98cfcd73d1f0f09eb2179fd0303b495c298 Mon Sep 17 00:00:00 2001 From: Jan-Niklas Weghorn Date: Tue, 15 Oct 2024 10:01:33 +0200 Subject: [PATCH] cr2sumo: replace print statement in CR2SumoConverter with log statement --- crdesigner/map_conversion/sumo_map/cr2sumo/converter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crdesigner/map_conversion/sumo_map/cr2sumo/converter.py b/crdesigner/map_conversion/sumo_map/cr2sumo/converter.py index 3176fc15..ebba602e 100644 --- a/crdesigner/map_conversion/sumo_map/cr2sumo/converter.py +++ b/crdesigner/map_conversion/sumo_map/cr2sumo/converter.py @@ -625,7 +625,9 @@ def cluster_lanelets_from_intersection( # however sumo doesn't need a junction for this continue cluster_instruction = self.get_cluster_instruction(intersection, lanelet_network, intersecting_edges) - print(cluster_instruction) + self.logger.debug( + f"Clustering intersection {intersection.intersection_id} according to {cluster_instruction}" + ) intersect_any = False if cluster_instruction != ClusterInstruction.NO_CLUSTERING: for incoming in intersection.incomings: