Commit 1c9d5160 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Minof fix + remove debug

parent 1943b106
......@@ -90,14 +90,11 @@ class Sorter:
pct_to_keep = 2000000 / num_lines
limit = int(nb_lines * pct_to_keep)
paf_lines = paf_lines[:limit]
print(len(paf_lines))
min_len = paf_lines[-1][-1]
print(min_len)
print("Sorting done!")
elif len_line >= min_len:
print("Processing line %d..." % nb_lines)
paf_lines.append(parts)
print(len(paf_lines))
paf_lines.sort(key=lambda x: -x[-1])
return paf_lines
......
......@@ -66,7 +66,7 @@
{% else %}
<p>This job does not exists!</p>
{% endif %}
{% if status not in ["success", "no_match", "fail"] %}
{% if status not in ["success", "no-match", "fail"] %}
{% if mode == "webserver" %}
You will receive an email when it will be finished.<br/>
Alternatively, you can refresh this page to update status.</p>
......
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