Skip to content

Commit

Permalink
Merge pull request #506 from theosanderson/theosanderson-patch-46
Browse files Browse the repository at this point in the history
Fix the fix: further fix to mutations logic
  • Loading branch information
theosanderson authored Jul 29, 2023
2 parents da2400a + 8289fef commit 566087f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taxoniumtools/src/taxoniumtools/ushertools.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def get_mutations(past_nuc_muts_dict,

initial_codon = [seq[gene_codon.positions[x]] for x in range(3)]

relevant_past_muts = [(gene_codon.positions[x], past_nuc_muts_dict[x])
for x in gene_codon.positions
relevant_past_muts = [(x, past_nuc_muts_dict[x])
for x in gene_codon.positions.values()
if x in past_nuc_muts_dict]
flipped_dict = {
position: offset
Expand Down

1 comment on commit 566087f

@vercel
Copy link

@vercel vercel bot commented on 566087f Jul 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.