Skip to content

Commit a1bbbf0

Browse files
committed
fix #19
1 parent 5e2c1f9 commit a1bbbf0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pathways/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def read_indices_csv(file_path: Path) -> dict[tuple[str, str, str, str], int]:
4444
with open(file_path, encoding="utf-8") as read_obj:
4545
csv_reader = csv.reader(read_obj, delimiter=";")
4646
for row in csv_reader:
47+
if row[4] == "index":
48+
continue
4749
try:
4850
indices[(row[0], row[1], row[2], row[3])] = int(row[4])
4951
except IndexError as err:

0 commit comments

Comments
 (0)