From 3fde1532e4aa37f122a88808ed3c70c3aa3909a9 Mon Sep 17 00:00:00 2001 From: napakalas Date: Thu, 10 Oct 2024 14:26:47 +1300 Subject: [PATCH] removing duplicate warning regarding no rendering (#93) --- mapmaker/routing/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mapmaker/routing/__init__.py b/mapmaker/routing/__init__.py index c4af9fe7..db91a6c4 100644 --- a/mapmaker/routing/__init__.py +++ b/mapmaker/routing/__init__.py @@ -1434,10 +1434,6 @@ def set_direction(upstream_node): log.warning(f'{path.id}: Path is not rendered due to partial rendering.') route_graph.remove_nodes_from(list(route_graph.nodes)) - # log a warning if no path is rendered - if len(route_graph.edges) == 0 and len(connectivity_graph.edges) > 0: - log.warning(f'{path.id}: Path is not rendered at all.') - if debug: return (route_graph, G, connectivity_graph, terminal_graphs) # type: ignore else: