Skip to content

Commit

Permalink
Update ushertools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored May 24, 2022
1 parent 4a9b0ee commit 3b02a7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions taxoniumtools/src/taxoniumtools/ushertools.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ def get_root_sequence(self):
collected_mutations = {}
for i, node in alive_it(list(enumerate(self.tree.root.traverse_postorder())),
title="Getting root sequence"):
if node == self.tree.root:
continue
for mutation in node.nuc_mutations:
collected_mutations[mutation.one_indexed_position] = mutation.par_nuc
self.root_sequence = list(str(self.genbank.seq))
Expand Down

1 comment on commit 3b02a7e

@vercel
Copy link

@vercel vercel bot commented on 3b02a7e May 24, 2022

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.