Skip to content

Commit

Permalink
Merge pull request #982 from nbraud/reproducibility
Browse files Browse the repository at this point in the history
merge.py: Make result independent of filesystem order
  • Loading branch information
jmccrae authored Nov 6, 2023
2 parents c6b6c8f + 6da46a4 commit f2528e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def wn_merge():

ET.register_namespace("dc", "https://globalwordnet.github.io/schemas/dc/")

for wn_part in glob("src/xml/wn-*.xml"):
for wn_part in sorted(glob("src/xml/wn-*.xml")):
tree = ET.parse(wn_part).getroot()
for element in tree[0]:
if(element.tag == "LexicalEntry"):
Expand Down

0 comments on commit f2528e2

Please sign in to comment.