diff --git a/meteor/phylogeny.py b/meteor/phylogeny.py index 9ae2f07..5294d30 100644 --- a/meteor/phylogeny.py +++ b/meteor/phylogeny.py @@ -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: