Skip to content

Commit

Permalink
Improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
aghozlane committed Sep 6, 2024
1 parent e4f8ca1 commit d385cf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meteor/variantcalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@ def create_consensus(
)
)
)
consensus[record.pos + i - 1] = self.IUPAC[mnv]
consensus[record.start + i] = self.IUPAC[mnv]
else:
consensus[record.pos - 1] = self.IUPAC[keep_alts]
consensus[record.start] = self.IUPAC[keep_alts]
# Update consensus array for each matching range
if gene_id in low_cov_sites.index:
selection = low_cov_sites.loc[gene_id]
Expand Down

0 comments on commit d385cf6

Please sign in to comment.