Skip to content

Commit

Permalink
Merge branch 'cr2sumo-replace-print-with-log' into 'develop'
Browse files Browse the repository at this point in the history
cr2sumo: replace print statement in CR2SumoConverter with log statement

See merge request cps/commonroad/commonroad-scenario-designer!442
  • Loading branch information
smaierhofer committed Oct 15, 2024
2 parents 03497d2 + bba5d98 commit d56abd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crdesigner/map_conversion/sumo_map/cr2sumo/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d56abd3

Please sign in to comment.