Commit ac4becf6 authored by Moritz Huebner's avatar Moritz Huebner

Added exit handling for pcdev

parent db63c6f1
Pipeline #131675 passed with stage
in 8 minutes and 48 seconds
......@@ -127,7 +127,7 @@ class PyPolyChord(NestedSampler):
def _sample_file_directory(self):
return self.outdir + '/chains'
def write_current_state_and_exit(self, signum=None):
def write_current_state_and_exit(self, signum=None, frame=None):
if signum == 14:
logger.info(
"Run interrupted by alarm signal {}: checkpoint and exit on {}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment