Skip to content

Commit

Permalink
Fix missing VIM gene by not deleting genes with the same coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
samuell committed Aug 13, 2024
1 parent 58a962c commit a9a30ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microSALT/utils/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def scrape_blast(self, type="", file_list=[]):
# Identical identity and span, seperating based on contig coverage
else:
# Rightmost is worse
if float(hypo[ind].get("contig_coverage")) >= float(
if float(hypo[ind].get("contig_coverage")) > float(
hypo[targ].get("contig_coverage")
):
del hypo[targ]
Expand Down

0 comments on commit a9a30ca

Please sign in to comment.