Package schrodinger :: Package application :: Package desmond :: Module cmj :: Class JobStatus
[hide private]
[frames] | no frames]

Class JobStatus

object --+
         |
        JobStatus

Instance Methods [hide private]
 
__init__(self, code=WAITING)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__str__(self)
str(x)
 
__eq__(self, other)
 
__ne__(self, other)
 
set(self, code, error=None)
 
is_good(self)
 
is_retriable(self)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  WAITING = 101
  RUNNING = 102
  SUCCESS = 103
  BACKEND_ERROR = 201
  PERMANENT_LICENSE_FAILURE = 202
  NON_RETRIABLE_FAILURE = 299
  TEMPORARY_LICENSE_FAILURE = 301
  KILLED = 302
  FIZZLED = 303
  LAUNCH_FAILURE = 304
  FILE_NOT_FOUND = 305
  FILE_CORRUPT = 306
  STRANDED = 307
  RETRIABLE_FAILURE = 399
  STRING = {WAITING: "is waiting for launching", RUNNING: "is ru...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, code=WAITING)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__

Class Variable Details [hide private]

STRING

Value:
{WAITING: "is waiting for launching", RUNNING: "is running", SUCCESS: \
"was successfully finished", PERMANENT_LICENSE_FAILURE: "could not run\
 due to permanent license failure", TEMPORARY_LICENSE_FAILURE: "died d\
ue to temporary license failure", KILLED: "was killed", FIZZLED: "fizz\
led", STRANDED: "was stranded", LAUNCH_FAILURE: "failed to launch", FI\
LE_NOT_FOUND: "was finished, but registered output files were not foun\
d", FILE_CORRUPT: "was finished, but an essential output file was foun\
d corrupt", BACKEND_ERROR: "died due to backend error",}