Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(4) | Call(4) | Derive(0) | Import(0)
This method exits the simulation. In a parallel environment calls MPI_ABORT. In serial, calls sys.exit(). Code is the exit code. Only used in serial processes.
src/p/e/PEATDB-2.3/PEATSA/WebApp/WebScript.py PEATDB(Download)
environment.wait(error=True) #This is only called if we are in serial environment.exit(1) except Core.Exceptions.ProteinDesignToolException, data: print "\nError - %s" % data.errorString
environment.wait(error=True) environment.exit(1) except SystemExit, data: #This is raised by sys.exit - check was the arg 0
environment.wait(error=True) environment.exit(1) except BaseException, data: #Get the traceback as a string = convoluted ....
print "%s" % trace environment.wait(error=True) environment.exit(1)