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

Class StageBase

         object --+    
                  |    
picklejar.Picklable --+
                      |
                     StageBase
Known Subclasses:

Nested Classes [hide private]
  __metaclass__
Instance Methods [hide private]
 
PARAM(...)
 
__getstate__(self, state=None)
 
__init__(self, should_pack=True)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__setstate__(self, state)
 
_effect(self, param)
 
_gen_unique_jobname(self, suggested_jobname)
 
_get_jobname_and_dir(self, job, macro_dict={})
 
_get_macro_dict(self)
 
_log(self, msg)
 
_param_jlaunch_opt_check(self, key, val_list, prefix, ev)
 
_print(self, loglevel, msg)
 
_reg_param_postcheck(self, func)
 
_reg_param_precheck(self, func)
 
_set(self, key, setter, transformer=None)
 
capture(self, job)
 
check_param(self)
 
crunch(self)
This is where jobs of this stage are created.
 
describe(self)
 
determine(self)
 
hook_captured_successful_job(self, job)
 
pack_stage(self, force=False)
 
poststage(self)
 
prestage(self)
 
push(self, job)
 
release(self, is_restarting=False)
Calls the 'crunch' method to generate new jobs objects and submits them to the 'QUEUE'.
 
restart_subjobs(self, jobs)
Subclass should override this if it supports subjob restarting.

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

Class Variables [hide private]
  NAME = 'generic'
  count = 0
hash(x)
  stage_cls = {'aacg_sitemap': <class 'schrodinger.application.d...
  stage_obj = {}
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, should_pack=True)
(Constructor)

 

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

Overrides: object.__init__

crunch(self)

 

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


Class Variable Details [hide private]

stage_cls

Value:
{'aacg_sitemap': <class 'schrodinger.application.desmond.stage.Aacg_Si\
teMap_Multijob'>,
 'align_core': <class 'schrodinger.application.desmond.stage.AlignCore\
'>,
 'analysis': <class 'schrodinger.application.desmond.stage.Analysis'>,
 'assign_forcefield': <class 'schrodinger.application.desmond.stage.As\
signForcefield'>,
 'build_geometry': <class 'schrodinger.application.desmond.stage.Build\
...