Package schrodinger :: Package pipeline :: Package stages :: Module gencodes :: Class RestoreTitlesStage
[hide private]
[frames] | no frames]

Class RestoreTitlesStage

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

Stage for copying titles for each input ligand from the 's_pipeline_title_backup' property to the 's_m_title' property.

The stage takes one input structure file set and generates one set of output structure files, each containing about 100,000 structures.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
See class docstring.
 
operate(self)
For each structure, sets the value of the DESTINATION_FIELD to the the value of the SOURCE_FIELD.

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)

 

See class docstring.

Overrides: UserDict.UserDict.__init__

operate(self)

 

For each structure, sets the value of the DESTINATION_FIELD to the the value of the SOURCE_FIELD. If no such value exists, raises a RuntimeError.

Overrides: stage.Stage.operate