diff --git a/backend/app/nodes/byID/centreline.py b/backend/app/nodes/byID/centreline.py index 6f0df79..5a0a3a7 100644 --- a/backend/app/nodes/byID/centreline.py +++ b/backend/app/nodes/byID/centreline.py @@ -1,6 +1,6 @@ import json from app.db import getConnection -from app.get_nearest_here_nodes import get_here_nodes_within +from app.nodes.nearby.here import get_here_nodes_within from app.nodes.byID.px import get_px_node SQL = ''' diff --git a/backend/app/nodes/byID/here.py b/backend/app/nodes/byID/here.py index 43400e7..1372f5a 100644 --- a/backend/app/nodes/byID/here.py +++ b/backend/app/nodes/byID/here.py @@ -2,7 +2,7 @@ import json from app.db import getConnection -from app.get_nearest_centreline_node import get_nearest_centreline_node +from app.nodes.nearby.centreline import get_nearest_centreline_node SQL = ''' SELECT diff --git a/backend/app/get_nearest_centreline_node.py b/backend/app/nodes/nearby/centreline.py similarity index 100% rename from backend/app/get_nearest_centreline_node.py rename to backend/app/nodes/nearby/centreline.py diff --git a/backend/app/get_nearest_here_nodes.py b/backend/app/nodes/nearby/here.py similarity index 100% rename from backend/app/get_nearest_here_nodes.py rename to backend/app/nodes/nearby/here.py diff --git a/backend/app/routes.py b/backend/app/routes.py index 5bed607..bd4be9a 100644 --- a/backend/app/routes.py +++ b/backend/app/routes.py @@ -3,7 +3,7 @@ from flask import jsonify, request from app import app from app.db import getConnection -from app.get_nearest_here_nodes import get_here_nodes_within +from app.nodes.nearby.here import get_here_nodes_within from app.nodes.byID.here import get_here_node from app.nodes.byID.centreline import get_centreline_node from app.get_travel_time import get_travel_time