Skip to content

Commit

Permalink
Fix count
Browse files Browse the repository at this point in the history
  • Loading branch information
aghozlane committed Jun 23, 2024
1 parent f1e7c16 commit 4e38888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meteor/phylogeny.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ def clean_sites(
# Compute site information
info_ratio = self.compute_site_info(gene_dict.values())
# Count sites with more than the specified maximum gap ratio
info_sites = sum(1 for ratio in info_ratio if ratio > self.max_gap)
info_sites = sum(1 for ratio in info_ratio if ratio <= self.max_gap)
logging.info(
"%d / %d sites with more than %d gaps were removed",
"%d / %d sites with less than %d\% gaps",
info_sites,
len(info_ratio),
self.max_gap * 100,
Expand Down

0 comments on commit 4e38888

Please sign in to comment.