-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kill VirusTreeSimulator after x number of failures to coalesce #7
Comments
Potential Stack Overflow post to ask if I can't figure it out: Stack Overflow postI have a Python 3 script that calls an external tool that repeats itself until it succeeds, and depending on parameter choices to the tool, it may quickly (e.g. instantly) succeed, it may take a few times to succeed, or it may (seemingly) never succeed. When it fails, the tool prints in a manner like this:
I am calling the tool like this:
I want to kill the subprocess call (and throw an error message) after a certain number of failures occur, e.g. when the log file I'm redirecting to has the string |
Potentially fixed in 1b4e9df |
Fix has been integrated into an official release (1.1.1): https://github.com/niemasd/FAVITES/releases/tag/1.1.1 |
VirusTreeSimulator infinite-loops if it keeps failing to coalesce the lineages. Add a way to kill VirusTreeSimulator (and throw an error) if it fails to coalesce after x attempts.
Configuration File
The text was updated successfully, but these errors were encountered: