Trees | Indices | Help |
|
---|
|
object --+ | ui.qt.appframework2.maestro_callback.MaestroCallbackMixin --+ | object --+ | | | ui.qt.appframework2.markers.MarkerMixin --+ | object --+ | | | ui.qt.appframework2.settings.SettingsMixin --+ | ui.qt.appframework2.baseapp.ValidatedPanel --+ | ui.qt.appframework2.af2.App --+ | ui.qt.appframework2.af2.JobApp --+ | BaseJaguarPanel
A base class for all Jaguar GUIs. Subclasses should define TABS and TASK_NAME.
|
|||
|
|||
|
|||
schrodinger.application.jaguar.input.JaguarInput |
|
||
|
|||
|
|||
schrodinger.job.jobcontrol.Job |
|
||
|
|||
list |
|
||
list |
|
||
bool |
|
||
|
|||
bool or NoneType |
|
||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
str |
|
||
str or NoneType |
|
||
|
|||
dict |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
str |
TASK_NAME = "" The name of the panel |
||
str |
SHORT_NAME = "" A shortened version of TASK_NAME. |
||
list |
TABS = [] The list of tabs that a panel should contain. |
||
list |
INPUT_SUB_TABS = [] The list of sub-tabs for the Input tab. |
||
bool |
USE_PARALLEL_ARG = True The value to pass to schrodinger.application.jaguar.gui.utils.host_and_cpu_args for use_parallel when constructing command line
arguments.
|
||
bool |
EXPLICIT_ONE_ARG = True The value to pass to schrodinger.application.jaguar.gui.utils.host_and_cpu_args for explicit_one when constructing command line
arguments.
|
||
bool |
ONE_SUBJOB_ARG = True The value to pass to schrodinger.application.jaguar.gui.utils.host_and_cpu_args for one_subjob when constructing command line arguments.
|
||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Define instance variables that specify the creation of the panel.
|
Instantiate the tab widget and tabs. Sub-tabs will also be added to the Input tab if necessary.
|
Create a JaguarInput object containing default keywords taken from all tabs
Note: An "empty" JaguarInput object contains all mmjag defaults, so most tabs will not return any default keywords. Mmjag defaults do not specify a theory level or a DFT functional, however, and the panel expects defaults for these. |
Get the tab of the specified class
|
Display help for the current tab
|
Launch the specified job.
|
Create the command line for job launching. Note that the input file name will be added in launchJaguarJob. Note: This function is intended to be overridden in BaseJaguarPanel subclassses that use different command lines. This code should not be moved into launchJaguarJob. |
Build the command line arguments for passing the job name.
|
Build the command line arguments for passing the hostname and the number of CPUs.
|
If multiple CPUs are requested without specifying the number of threads, should we pass the number of CPUs using "-HOST hostname:4" or "-HOST hostname -PARALLEL 4"? To change this behavior, override this function when subclassing.
Note: This variable is the inverse of the distributed_job variable in the C++ implementation of the GUIs. distributed_job is True when the colon should be used. |
Reset the panel after prompting the user for confirmation
|
Load the specified settings into the tabs and store them in self._jag_input. This function should not be called directly. Instead, _loadSettingsWithErrors(), _loadSettingsWithEditDialogWarnings(), or _loadSettingsWithReadWarnings() should be used so warnings are handled properly.
|
Load the specified settings. If a warning is raised, it will immediately be raised as an exception. This function should be used when reading in default settings, since all default settings should be properly handled by the panel. See _loadSettings for argument documentation.
|
Display a dialog to confirm that the user really wants to reset the panel
|
Get the job configuration dialog |
Run validation for each tab. If any tab raises an error, immediately switch to that tab and return the error.
|
Create the status bar message. This function will prepend any Jaguar- specific status bar message before the standard job information. The Jaguar-specific status bar message can be generated by defining generateJaguarStatus().
|
Create a Jaguar-specific status bar message. This function should be defined in any subclass that wishes to modify the status bar message.
|
Update the mmjag object that will be used to build the input file
|
Get Jaguar keywords that are specific to this panel and not set in any of the tabs.
|
Run the mmjag preflight check, which checks settings for consistency.
|
Get the Jaguar keywords from all tabs and store them in the JaguarInput handle. Also get and store any task-specific keywords.
|
Load all per-atom settings into self._jag_input
|
Delete all Maestro "freeze" atom properties, as these freezes didn't come from the panel but will be enforced as constraints by the Jaguar backend. (See PANEL-3518.) |
Add the structure specified in the input selector frame to the mmjag handle.
|
|
SHORT_NAMEA shortened version of TASK_NAME. Used in constructing job names.
|
TABSThe list of tabs that a panel should contain. Each tab must be a schrodinger.application.jaguar.gui.tabs.base_tab.BaseTab subclass.
|
INPUT_SUB_TABSThe list of sub-tabs for the Input tab. Only used if TABS contains a subclass of schrodinger.application.jaguar.gui.tabs. input_tab.InputTabWithSubTabs. Each sub-tab must be a schrodinger. application.jaguar.gui.tabs.input_sub_tabs.base_sub_tab.BaseSubTab subclass.
|
USE_PARALLEL_ARGThe value to pass to schrodinger.application.jaguar.gui.utils.host_and_cpu_args foruse_parallel when constructing command line arguments.
Note that this value can also be modified by overriding the useParallelArg method if more complex behavior is
required.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:34 2015 | http://epydoc.sourceforge.net |