Package schrodinger :: Package tasks :: Module jobtasks :: Class AbstractJobTask
[hide private]
[frames] | no frames]

Class AbstractJobTask

                                    object --+        
                                             |        
ui.qt.appframework2.validation.ValidationMixin --+    
                                                 |    
                    object --+                   |    
                             |                   |    
             sip.simplewrapper --+               |    
                                 |               |    
                       sip.wrapper --+           |    
                                     |           |    
                  PyQt4.QtCore.QObject --+       |    
                                         |       |    
                         Qt.QtCore.QObject --+   |    
                                             |   |    
                     parameters.ParamContainer --+    
                                                 |    
                                tasks.AbstractTask --+
                                                     |
                                                    AbstractJobTask
Known Subclasses:

Nested Classes [hide private]

Inherited from parameters.ParamContainer: __metaclass__

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
 
_getViewname(self)
 
start(self)
 
write(self)
 
_writeCmd(self, cmdlist)
Writes the given cmd to disk.
 
getWriteFilename(self)
 
isRunning(self)
 
makeSchrodingerCmd(self, *args)
Builds a $SCHRODINGER command string from all the args passed in.
 
getSchrodingerRun(self)
Returns the correct version of the $SCHRODINGER/run string.
 
fullCmdList(self)
Returns the full cmd list for the job.
 
_makeCmdList(self)
Gets the cmdlist and appends the standard flags.
 
makeCmdList(self)
Implement this to generate a cmdlist.
 
appendConfigFlags(self, cmdlist)
 
updateStatusText(self)
 
job_configChanged(...)
 
job_dirChanged(...)
 
job_optionsChanged(...)

Inherited from tasks.AbstractTask: __repr__, __str__, base_nameChanged, getName, nameChanged, postProcess, postStart, preValidate, reset, setStatus, status, statusChanged, status_paramChanged

Inherited from ui.qt.appframework2.validation.ValidationMixin: reportValidation, runValidation, validationEnabled

Inherited from ui.qt.appframework2.validation.ValidationMixin (private): _validate, _validateAdded, _validateChildren, _validateOwn

Inherited from parameters.ParamContainer: paramsChanged, paramsFromDict, paramsFromJson, paramsToDict, paramsToJson, resetParams

Inherited from parameters.ParamContainer (private): _propagateSignal

Inherited from Qt.QtCore.QObject: connect, emit

Inherited from PyQt4.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

Inherited from sip.simplewrapper: __new__

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

Class Variables [hide private]
  job_options = JobOptions()
  job_config = JobConfig()
  job_dir = parameters.StringParam()

Inherited from tasks.AbstractTask: base_name, name, status_param

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

start(self)

 
Overrides: tasks.AbstractTask.start

isRunning(self)

 
Overrides: tasks.AbstractTask.isRunning

makeSchrodingerCmd(self, *args)

 

Builds a $SCHRODINGER command string from all the args passed in. The resulting string is suitable for use in a cmdlist and formatted for use in starting or writing the job depending on self.run_mode. In START mode, the $SCHRODINGER environment variable will be expanded. In WRITE mode, it will stay as $SCHRODINGER and the path will be delimited with linux-style forward slashes.

Example: self.makeSchrodingerCmd('utilities', 'my_utility') will return "{$SCHRODINGER}/utilities/my_utility" in WRITE mode.

getSchrodingerRun(self)

 

Returns the correct version of the $SCHRODINGER/run string. This will depend on whether the intent is to start or to write the job.

fullCmdList(self)

 

Returns the full cmd list for the job. This will take into account the run_mode specified in the job_config.

_makeCmdList(self)

 

Gets the cmdlist and appends the standard flags. This will also do an explicit str cast on every element of the cmdlist.

makeCmdList(self)

 

Implement this to generate a cmdlist. This cmdlist will be used for write functionality.