Skip to content

Commit

Permalink
fix non-inf anc return values
Browse files Browse the repository at this point in the history
  • Loading branch information
psathyrella committed Apr 11, 2024
1 parent c7db992 commit dbc22f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/treeutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,8 @@ def check_lengths(seqfos, inf_seqfos):
# ----------------------------------------------------------------------------------------
def read_inf_seqs(dtree, removed_nodes, padded_seq_info_list):
inf_seqfos, inf_antn = [], None
if method not in inf_anc_methods:
return inf_seqfos, inf_antn
if method in iqt_methods:
inf_infos, skipped_rm_nodes = {}, set()
with open('%s/%s.state'%(workdir, outfix)) as afile:
Expand Down

0 comments on commit dbc22f8

Please sign in to comment.