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

Class JobConfig

       object --+                        
                |                        
sip.simplewrapper --+                    
                    |                    
          sip.wrapper --+                
                        |                
     PyQt4.QtCore.QObject --+            
                            |            
            Qt.QtCore.QObject --+        
                                |        
         parameters.AbstractParam --+    
                                    |    
     parameters.AbstractCompoundParam --+
                                        |
                                       JobConfig

Nested Classes [hide private]

Inherited from parameters.AbstractCompoundParam: __metaclass__

Inherited from parameters.AbstractParam: NO_VALUE

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
 
addHostFlag(self, cmdlist)
 
addResultServerFlag(self, cmdlist)
 
addDispFlag(self, cmdlist)
 
addProjFlag(self, cmdlist)
 
addViewnameFlag(self, cmdlist)
 
addTmpLaunchDirFlag(self, cmdlist)
 
appendFlags(self, cmdlist)
Takes a cmdlist and appends the standard configuration flags appropriate for the context.
 
applySettings(self, settings)
 
summaryText(self)
Generates the text to display in the status bar via the updateStatusText method.
 
cpusChanged(...)
 
dispChanged(...)
 
hostChanged(...)
 
host_textChanged(...)
 
job_optionsChanged(...)
 
jobnameChanged(...)
 
projChanged(...)
 
viewnameChanged(...)

Inherited from parameters.AbstractCompoundParam: __eq__, fromDict, fromJson, toDict, toJson

Inherited from parameters.AbstractParam: __get__, __set__, valueChanged

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__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  job_options = JobOptions()
  disp = parameters.StringParam()
  host = parameters.StringParam('localhost')
  cpus = parameters.IntParam(1)
  viewname = parameters.StringParam('Job')
  jobname = parameters.StringParam('job')
  host_text = parameters.StringParam()
  proj = parameters.StringParam()

Inherited from parameters.AbstractParam: DataClass

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

 

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

Overrides: object.__init__
(inherited documentation)

appendFlags(self, cmdlist)

 

Takes a cmdlist and appends the standard configuration flags appropriate for the context. This will depend on whether the intent is to start or write the job and whether maestro is available.

Any flag that already exists in the cmdlist will take precedence and that flag will not be automatically appended.

Parameters:
  • cmdlist (list) - the original command list.