Merge branch 'main' into website
This commit is contained in:
commit
06e66a86c2
1 changed files with 10 additions and 0 deletions
10
engine.py
10
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])
|
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...")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue