Skip to content
Snippets Groups Projects
Commit b9920c14 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Add exit signal for debugging

parent be643f91
No related branches found
No related tags found
1 merge request!750Improve ptemcee
Pipeline #114596 failed
......@@ -504,6 +504,7 @@ class Ptemcee(MCMCSampler):
if getattr(self, "pool", None):
logger.info("Closing pool")
self.pool.close()
logger.info("Exit on signal {}".format(self.exit_code))
sys.exit(self.exit_code)
def write_current_state(self, plot=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment