Skip to content

Commit

Permalink
Fix detection of the tree file
Browse files Browse the repository at this point in the history
  • Loading branch information
aghozlane committed Jun 24, 2024
1 parent 7bbdc87 commit 90dc3b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meteor/phylogeny.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ def execute(self) -> None:
# mycluster.write(
# tree_file.with_suffix(".tree"),
# )
if tree_file.exists():
if tree_file.with_suffix(".tree").exists() or tree_file.with_suffix(
".raxml.bestTree"
):
tree_files.append(tree_file)
logging.info("Completed MSP tree %d/%d", idx, msp_count)
else:
Expand Down

0 comments on commit 90dc3b1

Please sign in to comment.