From f0da44baf17cb10c6316cc9ce81ec3d8cad25ad2 Mon Sep 17 00:00:00 2001 From: Oliver Gaskell Date: Sat, 1 Nov 2025 13:19:53 +0000 Subject: [PATCH] engine: add parse_location stub --- engine.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/engine.py b/engine.py index 46cad73..db18b61 100755 --- a/engine.py +++ b/engine.py @@ -54,6 +54,16 @@ def format_location(location: EncodedLocation) -> str: return ";".join([f"{a}:{','.join(map(str, b))}" for (a, b) in location]) +def parse_location(location: str) -> EncodedLocation: + """Parse a location string into an EncodedLocation.""" + + # Stub + return [ + (5., [1., 2., 3.]), + (6., [4., 5., 6.]), + ] + + def main(): """Testing.""" print("Running query...")