schrodinger :: application :: desmond :: stage :: Task :: 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]
 
PARAM(...)
 
__getstate__(self, state=None)
 
__init__(self, *arg, **kwarg)
x.__init__(...) initializes x; see help(type(x)) for signature
 
_create_job(self)
 
_detect_systype(self)
 
_newjob(self, task, pj, gid=None)
 
_set_permanency(self)
Sets `pj.permanent_restrain' and `pj.permanent_group'.
 
crunch(self)
This is where jobs of this stage are created.
 
set_family(self)

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
hash(x)

Inherited from cmj.StageBase: count, stage_cls, stage_obj

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

PARAM(...)

 
Overrides: cmj.StageBase.PARAM

__getstate__(self, state=None)

 
Overrides: cmj.StageBase.__getstate__

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

 

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

Overrides: object.__init__

_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