|
|
__init__(self,
**kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
setPanelOptions(self)
Configure the panel by setting instance variables here. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| configDialogSettings(self) |
|
|
|
|
| setConfigDialogSettings(self,
new_values) |
|
|
|
|
|
|
False or None
|
_start(self)
Returns:
Returns False upon failure, otherwise returns nothing (None) |
|
|
|
False or None
|
_write(self)
Returns:
Returns False upon failure, otherwise returns nothing (None) |
|
|
|
False or None
|
_startOrWrite(self)
Combined method for starting a job or writing it to a .sh file. |
|
|
|
|
jobnameData(self)
Provides panel settings that are to be incorporated into job names. |
|
|
|
|
jobnameDataChanged(self)
If the job name includes panel settings, then this method should be
called whenever the relevant panel settings are modified |
|
|
|
|
updateJobname(self,
uniquify_custom=True)
Generate a new job name based on the current panel settings |
|
|
|
tuple
|
|
|
basestring
|
|
|
|
_populateEmptyJobname(self)
If the user clears the job name line edit, populate it with the
standard job name |
|
|
|
|
|
|
|
closeEvent(self,
event)
Receives the close event and calls the panel's 'close'-decorated
appmethod. |
|
|
|
|
|
|
|
| _getSHFilename(self,
jobdir=None) |
|
|
|
|
|
|
|
| setJobname(self,
jobname) |
|
|
|
|
writeJobCmd(self,
cmdlist)
Writes the job invocation command to a file named
"<jobname>.sh" Removes options from the command that
are maestro-specific. |
|
|
|
|
cleanupWriteCmd(self,
cmdlist)
Removes options from the command that only work within Maestro. |
|
|
|
|
cmdListToCmd(self,
cmdlist)
Converts a command list to a command string. |
|
|
|
|
| getCmdListArgValue(self,
cmdlist,
arg) |
|
|
|
|
|
|
|
|
|
|
registerJob(self,
job,
show_progress_bar=NO_PROGRESS_BAR)
Registers a job with the periodic job check callback and starts
timer. |
|
|
|
|
_periodicJobCheck(self)
This is called every 3 seconds when a job is running, and is used to
emit a signal when that job finishes. |
|
|
|
|
updateStatusBar(self)
Updates the status bar. |
|
|
|
str
|
|
|
|
launchScript(self,
script,
script_args=None,
input_files=[],
structure_output_file=None,
output_files=[],
localdriver=False,
aux_modules=[],
show_progress_bar=NO_PROGRESS_BAR,
**kwargs)
Creates and launches a script using makeLauncher. |
|
|
|
|
| launcherToCmdList(self,
slauncher) |
|
|
|
Launcher
|
makeLauncher(self,
script,
script_args=[],
input_files=[],
structure_output_file=None,
output_files=[],
localdriver=False,
aux_modules=[],
**kwargs)
Create a launcher.Launcher instance using the settings defined by the
panel, its config dialog, and specified arguments. |
|
|
|
|
launchLauncher(self,
slauncher,
show_progress_bar=NO_PROGRESS_BAR)
Either launches a launcher instance or writes the job invocation
command, depending on the state of self.start_mode. |
|
|
|
|
launchJobCmd(self,
cmdlist,
show_progress_bar=NO_PROGRESS_BAR,
auto_add_host=True)
Launches a job control command. |
|
|
|
|
setupJobCmd(self,
cmdlist,
auto_add_host=True)
Adds standard arguments HOST, NJOBS, PROJ, DISP, VIEWNAME to the
cmdlist if they are set in the config dialog. |
|
|
|
|
| _addCmdParam(self,
cmdlist,
cd_params,
cdname,
cmdname=None) |
|
|
|
|
| _getSTUZIPFilename(self,
jobname) |
|
|
|
|
_makeLocaleIndependent(self,
jobdir,
remove_host=True)
This takes a job written for a specific machine / Schrodinger
installation, and makes it compatible wherever it's run. |
|
|
|
|
showSTUDialog(self,
sh_txt,
jobname)
Shows dialog with information necessary to start a STU test,
including a label that links to the test suite. |
|
|
|
False or None
|
_writeSTU(self)
This function writes the jobdir using normal af2 methods, then
processes the .sh file and jobdir into a zip, so that it can be
easily used by STU. |
|
|
|
Inherited from App:
createInputSelector,
defineCustomSettings,
getAliasedValue,
getPanelState,
getWorkspaceStructure,
loadPanelState,
setAliasedValue,
setPanelState,
showEvent,
showProgressBarForJob,
writePanelState
Inherited from App (private):
_close,
_configurePanelSettings,
_help,
_read,
_reset,
_statusShrunk,
_updateProgressBar
Inherited from maestro_callback.MaestroCallbackMixin:
buildCallbackDicts
Inherited from maestro_callback.MaestroCallbackMixin (private):
_addCallbacks,
_delayedCallbacks,
_removeCallbacks
Inherited from markers.MarkerMixin:
addMarker,
getAllMarkers,
getMarker,
hideAllMarkers,
removeAllMarkers,
removeAllMarkersForEntry,
removeMarker,
removeMarkerForAtoms,
showAllMarkers
Inherited from markers.MarkerMixin (private):
_calcEntryAtomTotal,
_canonicalizeAtomOrder,
_clearInvalidatedMarkers,
_createMarker,
_eidsFromHashable,
_genMarkerHash,
_updateMarkers
Inherited from settings.SettingsMixin:
__getitem__,
__setitem__,
applySettings,
getAliasedSettings,
getObjValue,
getSettings,
setAlias,
setAliases,
setObjValue
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|