Package schrodinger :: Package application :: Package desmond :: Module stage :: Class Task
[hide private]
[frames] | no frames]

Class Task

         object --+        
                  |        
picklejar.Picklable --+    
                      |    
          cmj.StageBase --+
                          |
                         Task

Nested Classes [hide private]

Inherited from cmj.StageBase: __metaclass__

Instance Methods [hide private]
 
__init__(self, *arg, **kwarg)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__getstate__(self, state=None)
 
_detect_systype(self)
 
_set_permanency(self)
Sets `pj.permanent_restrain' and `pj.permanent_group'.
 
_newjob(self, task, pj, gid=None)
 
_create_job(self)
 
set_family(self)
 
crunch(self)
This is where jobs of this stage are created.

Inherited from cmj.StageBase: __setstate__, capture, check_param, describe, determine, hook_captured_successful_job, pack_stage, poststage, prestage, push, release, restart_subjobs

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

Class Variables [hide private]
  NAME = "task"
  gid = 0, Picklable
  PARAM = cmj._create_param_when_needed(...

Inherited from cmj.StageBase: count, stage_cls, stage_obj

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *arg, **kwarg)
(Constructor)

 

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

Overrides: object.__init__

__getstate__(self, state=None)

 
Overrides: cmj.StageBase.__getstate__

_set_permanency(self)

 

Sets `pj.permanent_restrain' and `pj.permanent_group'. Note that `pj.systype' should be already set before call to this method.

crunch(self)

 

This is where jobs of this stage are created. This function should be overriden by the subclass.

Overrides: cmj.StageBase.crunch

Class Variable Details [hide private]

PARAM

Value:
cmj._create_param_when_needed("""
    DATA = {
    task       = "generic"
    set_family = {}
    }

    VALIDATE = {
    task = {type = enum range = ["desmond:regular" "desmond:fep" "desm\
...