def destroy(self): if self.jobID is None: self.status = None return from AppService_client import destroyRequest import socket req = destroyRequest(self.jobID) try: status = self.appServicePort.destroy(req) except socket.error, e: from chimera import NonChimeraError raise NonChimeraError(str(e))
def destroyJob(self): """ it destroies the running jobs """ req = destroyRequest(self.jobID) self.jobStatus = self.opalService.appServicePort.destroy( req )
def destroyJob(self): """ request the server to kill this job """ req = destroyRequest(self.jobID) self.jobStatus = self.opalService.appServicePort.destroy( req )