From 4b052bb509b34ff0d6d5bb6d68aacbc469f0f0b0 Mon Sep 17 00:00:00 2001 From: Stefan Hansson Date: Thu, 3 Dec 2020 22:56:07 +0100 Subject: meeep --- algorithms.py | 3 +++ store.py | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/algorithms.py b/algorithms.py index 9d4f538..21d5348 100644 --- a/algorithms.py +++ b/algorithms.py @@ -89,6 +89,9 @@ def get_closest_node_id(nodes, source_node, transport_mode): min_node = node min_value = length + print("min_node: ") + print(min_node) + return min_node diff --git a/store.py b/store.py index 23dc50a..e877eda 100644 --- a/store.py +++ b/store.py @@ -51,8 +51,6 @@ def add_neighbours_bike(nodes): if 'highway' not in way['tags']: continue - print(way) - road = way['road'] for i in range(len(road) - 1): -- cgit v1.2.1