Package schrodinger :: Package application :: Package desmond :: Module gui :: Class DesmondBasicConfigDialog
[hide private]
[frames] | no frames]

Class DesmondBasicConfigDialog

ui.qt.appframework.ConfigDialog --+
                                  |
                                 DesmondBasicConfigDialog

This is identical to Appframework.ConfigDialog except adds platform check for localhost jobs

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Adds a validate_platforms property that indicates whether the platform should be validated if it is localhost
 
enablePlatformValidation(self, state)
Enable/disable platform validation of localhost jobs
bool
validate(self)
Performs localhost validate if requested and then calls the parent class validation method

Inherited from ui.qt.appframework.ConfigDialog: activate, applySettings, cpus3Edited, currentHost, getHosts, getSettings, getTotalOpenMPCPUs, savePressed, setupHostCombo, setupHostLayout, showHelp, startPressed, updateOpenMPInfo, updateOpenMPLabel, updateQueueResources, validateAndAccept, validateNumCpus, validateNumGpus, validateNumOpenMP, validateNumProcs, warning

Class Methods [hide private]

Inherited from ui.qt.appframework.ConfigDialog: getGPGPUs

Class Variables [hide private]

Inherited from ui.qt.appframework.ConfigDialog: CANCEL, CPU_UNIT_LABEL, GPU_UNIT_LABEL, HELP, SAVE, START

Method Details [hide private]

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

 

Adds a validate_platforms property that indicates whether the platform should be validated if it is localhost

Overrides: ui.qt.appframework.ConfigDialog.__init__

enablePlatformValidation(self, state)

 

Enable/disable platform validation of localhost jobs

Parameters:
  • state (bool) - Whether to use platform validation or not

validate(self)

 

Performs localhost validate if requested and then calls the parent class validation method

Returns: bool
Whether the dialog settings validate properly or not
Overrides: ui.qt.appframework.ConfigDialog.validate