def debugpause(self): if config.pause_on_crash: print '-'*60 print 'ERROR: Candidate algorithm crashed!' print '-'*60 print "%s crashed on test %d for input size %d" % (str(self.candidate),self.testNumber, self.n) print 'cmd:', ' '.join(self.cmd) print 'set config.pause_on_crash=False to disable this message' print '-'*60 print import progress progress.pause('press any key to continue')
def debugpause(self): if config.pause_on_crash: print '-'*60 print 'WARNING: Inconsistent output' print '-'*60 print "config 1:", self.a.cfgfile() print "config 2:", self.b.cfgfile() print "input:",self.pfx print 'set config.pause_on_crash=False to disable this message' print '-'*60 print import progress progress.pause('press any key to continue')
def debugpause(self): if config.pause_on_crash: print '-' * 60 print 'WARNING: Inconsistent output' print '-' * 60 print "config 1:", self.a.cfgfile() print "config 2:", self.b.cfgfile() print "input:", self.pfx print 'set config.pause_on_crash=False to disable this message' print '-' * 60 print sys.stdout.flush() import progress progress.pause('press any key to continue')
def debugpause(self): if config.pause_on_crash: print "-" * 60 print "WARNING: Inconsistent output" print "-" * 60 print "config 1:", self.a.cfgfile() print "config 2:", self.b.cfgfile() print "input:", self.pfx print "set config.pause_on_crash=False to disable this message" print "-" * 60 print sys.stdout.flush() import progress progress.pause("press any key to continue")