Commit 0e8b97ca authored by Eric Coissac's avatar Eric Coissac

Modify the action of the -M option to fit the documentation

parent a95ae512
......@@ -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) >= options.minmatches:
if options.error > 0.0 and len(match) >= int(options.minmatches * options.error):
lca = taxonomy.betterCommonTaxon(options.error,
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