Skip to content

Commit 5785980

Browse files
committed
fix sorting hmm hits
1 parent bb185a3 commit 5785980

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fdog/libs/hmm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def sort_hmm_hits(hmm_hits, hitLimit = 10, scoreCutoff = 10, debug = False):
7373
key:val for key, val in score_dict.items() \
7474
if key >= cutoff
7575
}
76-
for score in sorted(score_dict):
76+
for score in sorted(score_dict, reverse = True):
7777
if n < hitLimit:
7878
for id in score_dict[score]:
7979
hmm_cand[id] = score

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="fdog",
29-
version="0.1.7",
29+
version="0.1.8",
3030
python_requires='>=3.7.0',
3131
description="Feature-aware Directed OrtholoG search tool",
3232
long_description=long_description,

0 commit comments

Comments
 (0)