Verified Commit 71760b40 authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

fix python2 syntax

parent 56b2177c
......@@ -13,7 +13,7 @@ def parse_similarity_file(path):
sim_matrix = matrix.create(4, 4)
with open(path, 'r') as sim_file:
#skip first line
sim_file.next()
next(sim_file)
for row_no, line in enumerate(sim_file):
line = line.strip()
fields = line.split()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment