Commit 1d4c3f99 by Eric Coissac

Patch a bug related to the -E et -M options

parent ba30e74d
......@@ -370,7 +370,7 @@ if __name__=='__main__':
if best[0]:
taxlist = set(taxonlink[p[0].id] for p in match)
if options.error > 0.0 and len(match) >= int(options.minmatches * options.error):
if options.error > 0.0 and len(match) >= int(options.minmatches / (1.0 - options.error)):
lca = taxonomy.betterCommonTaxon(options.error,
*tuple(taxlist))
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment