Commit 6e743d0c authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix summary line coordinates

parent 98d3d3b8
......@@ -493,8 +493,8 @@ class Paf:
for cat in cats:
for line in self.lines[cat]:
start = line[0]
end = line[1]+1
start = min(line[0], line[1])
end = max(line[0], line[1]) + 1
position_idy[start:end] = [cat] * (end - start)
counts = Counter(position_idy)
......
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