Skip to content

Commit f4be8e5

Browse files
committed
remove internal path from file loading
1 parent 6cd38ef commit f4be8e5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

induce_alignments_AdAd.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ def load_texts_and_alignments(editions_file, lang_files_path, verse_alignments_p
7575
texts = {}
7676
for langl in langs:
7777
verses = {}
78-
if langl == "eng":
79-
lang_path = os.path.join("/mounts/work/mjalili/projects/graph_align_base/data/pbc/", editions[langl] + ".txt")
80-
else:
81-
lang_path = os.path.join(lang_files_path, editions[langl] + ".txt")
78+
lang_path = os.path.join(lang_files_path, editions[langl] + ".txt")
8279
with codecs.open(lang_path, "r", "utf-8") as fi:
8380
for l in fi:
8481
if l[0] == "#": continue

0 commit comments

Comments
 (0)