Skip to content

Commit

Permalink
Fix the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Jul 29, 2023
1 parent da2400a commit 8289fef
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

0 comments on commit 8289fef

Please sign in to comment.