Skip to content

Commit

Permalink
Merge pull request #516 from theosanderson/fix-root
Browse files Browse the repository at this point in the history
Fix a bug introduced recently where the root wasn't correctly annotated with AAs
  • Loading branch information
theosanderson committed Sep 6, 2023
2 parents 44e3fb0 + 6011e59 commit 941f03a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion taxoniumtools/src/taxoniumtools/ushertools.py
Expand Up @@ -323,7 +323,11 @@ def perform_aa_analysis(self):
pbar, self.nuc_to_codon)
root_muts = self.create_mutation_like_objects_to_record_root_seq()
self.tree.root.aa_muts = get_mutations(
{}, root_muts, seq, self.cdses, disable_check_for_differences=True)
{},
root_muts,
seq,
self.nuc_to_codon,
disable_check_for_differences=True)
self.tree.root.nuc_mutations = root_muts

def load_genbank_file(self, genbank_file):
Expand Down

1 comment on commit 941f03a

@vercel
Copy link

@vercel vercel bot commented on 941f03a Sep 6, 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.