r638: disabled scoring checking

I haven't figured out the exact bounds...
This commit is contained in:
Heng Li
2017-12-30 07:50:40 -05:00
parent f159e1c2d3
commit cc75c12905
2 changed files with 3 additions and 1 deletions

2
map.c
View File

@@ -117,6 +117,7 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo)
int mm_check_opt(const mm_idxopt_t *io, const mm_mapopt_t *mo)
{
/*
if (mo->a + 2 * (mo->q + mo->e) > 127 || mo->a + 2 * (mo->q2 + mo->e2) > 127) {
if (mm_verbose >= 1)
fprintf(stderr, "[ERROR]\033[1;31m scoring system violating {-A}+2*({-O}+{-E}) <= 127\033[0m\n");
@@ -127,6 +128,7 @@ int mm_check_opt(const mm_idxopt_t *io, const mm_mapopt_t *mo)
fprintf(stderr, "[ERROR]\033[1;31m dual gap penalties violating E1>E2 and O1+E1<O2+E2\033[0m\n");
return -2;
}
*/
return 0;
}