Package schrodinger :: Package pipeline :: Package stages :: Module example :: Class ExampleStage
[hide private]
[frames] | no frames]

Class ExampleStage

    UserDict.UserDict --+        
                        |        
UserDict.IterableUserDict --+    
                            |    
                  stage.Stage --+
                                |
                               ExampleStage

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
This is the Stage class.
 
operate(self)
OVERWRITE: Perform an operation on the input Objects.

Inherited from stage.Stage: JobDJOptions, __getitem__, __getstate__, addExpectedInput, addExpectedOutput, addOutputFile, checkFile, checkFiles, checkInputs, checkParameters, checkProducts, debug, dump, error, exit, genFileName, genOutputFileName, getAdjustedNJobs, getCleanupRequested, getHostList, getHostStr, getInput, getInputNames, getJobDJ, getLocal, getMaxRetries, getNCpus, getNJobs, getName, getOutput, getOutputName, getOutputNames, getRuntimePath, getStageDirectory, getVerbosity, hasCompleted, hasStarted, info, iterInputs, log, lognoret, mainProduct, outputRequested, reportParameters, requiredProduct, requiredProductRuntime, run, runJobDJ, setInput, setJobDJOptions, setJobOptions, setMainProduct, setOutput, setOutputName, updateJobdj, validateValues, waitForFileStatus, waitForFiles, warning

Inherited from UserDict.IterableUserDict: __iter__

Inherited from UserDict.UserDict: __cmp__, __contains__, __delitem__, __len__, __repr__, __setitem__, clear, copy, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Class Methods [hide private]

Inherited from UserDict.UserDict: fromkeys

Class Variables [hide private]

Inherited from UserDict.UserDict: __hash__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

 

This is the Stage class. Derive your own class from it.
  stagename - full name for this stage (<jobname>-<stagename>)
  specs - ConfigObj specification for the supported keywords
  allow_extra_keywords - Whether to allow keywords that are not in the specification.
  cleanup - Whether to remove intermediate files
  inpipeline - Whether the state is running within a Python Pipeline.
               If the stage is manually created, do NOT set this flag.
               Python Pipeline will set it as needed.

Overrides: UserDict.UserDict.__init__

operate(self)

 

OVERWRITE: Perform an operation on the input Objects. use self.setOutput(position, obj) to set output objects

Overrides: stage.Stage.operate
(inherited documentation)