Skip to content

Commit 2804124

Browse files
committed
Spell out query ids (necessitated by Q14a/b)
1 parent acfa0fe commit 2804124

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

cypher/bi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def convert_to_date(timestamp):
3232
driver = GraphDatabase.driver("bolt://localhost:7687")
3333

3434
with driver.session() as session:
35-
for query_id in range(1, 21):
35+
for query_id in ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14a", "14b", "15", "16", "17", "18", "19", "20"]:
3636
query_file = open(f'queries/bi-{query_id}.cypher', 'r')
3737
query_spec = query_file.read()
3838

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
country1:STRING|country2:STRING
2-
France|Spain
2+
Spain|France

cypher/parameters/bi-14b.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
country1:STRING|country2:STRING
2+
Spain|France

0 commit comments

Comments
 (0)