diff --git a/src/dgenies/bin/sort_paf.py b/src/dgenies/bin/sort_paf.py index 14bc493a38a6fd8019b8014c1ceb764469f711b5..28b690e03078ddf4bb66a7b0db1e45d5aae38575 100755 --- a/src/dgenies/bin/sort_paf.py +++ b/src/dgenies/bin/sort_paf.py @@ -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 diff --git a/src/dgenies/templates/status.html b/src/dgenies/templates/status.html index 7768744cd192da43f7ed67f4675272a845b67ab7..4753d75fb08342ba17b87d84e37f3d33dc016c5b 100644 --- a/src/dgenies/templates/status.html +++ b/src/dgenies/templates/status.html @@ -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>