Skip to content

Commit 1097583

Browse files
sdhutchinsCopilot
andauthored
Update OrthoEvol/Orthologs/Phylogenetics/PhyML/phyml.py
Co-authored-by: Copilot <[email protected]>
1 parent f3b8b01 commit 1097583

File tree

1 file changed

+3
-1
lines changed
  • OrthoEvol/Orthologs/Phylogenetics/PhyML

1 file changed

+3
-1
lines changed

OrthoEvol/Orthologs/Phylogenetics/PhyML/phyml.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ def _check_exe(self):
5656
if shutil.which(phyml_exe):
5757
return phyml_exe
5858
else:
59-
self.phyml_log.error("%s is not in the path." % phyml_exe)
59+
error_message = f"{phyml_exe} is not in the PATH. Please ensure that the PhyML executable is installed and available in your system's PATH."
60+
self.phyml_log.error(error_message)
61+
raise FileNotFoundError(error_message)
6062

6163
def run(self, model="WAG", alpha="e", bootstrap=100):
6264
""""Run phyml."""

0 commit comments

Comments
 (0)