Skip to content

Commit 0dccb77

Browse files
committed
Remove dead compareHitsByKeyScore
1 parent 2e96a2d commit 0dccb77

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎src/util/expandaln.cpp‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,6 @@ void rescoreResultByBacktrace(Matcher::result_t &result, Sequence &qSeq, Sequenc
7575
result.seqId = identities;
7676
}
7777

78-
static bool compareHitsByKeyScore(const Matcher::result_t &first, const Matcher::result_t &second) {
79-
if (first.score > second.score)
80-
return true;
81-
if (second.score > first.score)
82-
return false;
83-
return false;
84-
}
85-
8678
int expandaln(int argc, const char **argv, const Command& command, bool returnAlnRes) {
8779
Parameters &par = Parameters::getInstance();
8880
// default for expand2profile to filter MSA
@@ -313,8 +305,6 @@ int expandaln(int argc, const char **argv, const Command& command, bool returnAl
313305
}
314306
subSeqSet.clear();
315307
}
316-
//std::stable_sort(resultsBc.begin(), resultsBc.end(), compareHitsByKeyScore);
317-
318308
for (size_t k = 0; k < resultsBc.size(); ++k) {
319309
Matcher::result_t &resultBc = resultsBc[k];
320310
if (resultBc.backtrace.size() == 0) {

0 commit comments

Comments
 (0)