From 556f475ce7243cb99671022b6e9f774d3f7ef0a9 Mon Sep 17 00:00:00 2001 From: Blaise Li <blaise.li__git@nsup.org> Date: Tue, 18 Jun 2024 14:26:37 +0200 Subject: [PATCH] Write the sorted table. --- source/_static/code/parse_blast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_static/code/parse_blast.py b/source/_static/code/parse_blast.py index 2a19137..ca37831 100644 --- a/source/_static/code/parse_blast.py +++ b/source/_static/code/parse_blast.py @@ -45,5 +45,5 @@ if __name__ == '__main__': table_sorted = sorted(table_hits, key=itemgetter(2), reverse=True) # alternative # table_sorted = sorted(table, key = lambda x : x[2], reversed = True) - write_blast_output(table_hits, 'blast_sorted.txt') + write_blast_output(table_sorted, 'blast_sorted.txt') -- GitLab