engine: add parse_location stub

This commit is contained in:
Oliver Gaskell 2025-11-01 13:19:53 +00:00
parent bb65adfb61
commit f0da44baf1
No known key found for this signature in database
GPG key ID: F971A08925FCC0AD

View file

@ -54,6 +54,16 @@ def format_location(location: EncodedLocation) -> str:
return ";".join([f"{a}:{','.join(map(str, b))}" for (a, b) in location]) 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(): def main():
"""Testing.""" """Testing."""
print("Running query...") print("Running query...")