Package schrodinger :: Package application :: Package bioluminate :: Module protein_structure_quality :: Class ProteinStructureQualityViewer
[hide private]
[frames] | no frames]

Class ProteinStructureQualityViewer

    PyQt4.QtGui.QMainWindow --+    
                              |    
ui.qt.appframework.AppFramework --+
                                  |
                                 ProteinStructureQualityViewer

The Main Panel Class

Instance Methods [hide private]
 
__init__(self, models=None)
Create a ProteinStructureQualityViewer instance
 
toggleFavorable(self)
Refresh the workspace view when the user changes what regions to color
 
toggleAllowed(self)
Refresh the workspace view when the user changes what regions to color
 
toggleDisallowed(self)
Refresh the workspace view when the user changes what regions to color
 
loadModels(self, models=None)
Load the models into the viewer
 
changeModel(self)
Switch which model the panel is displaying data for
 
tabSelected(self, index)
When the user switches to the report tab, show everything as wire
 
showNewStructure(self, struct, chains='all')
Show data for a new structure in the Ramachandran plot
 
changePreset(self, choice)
Change which preset set of appearances to use when modifying the workspace structure appearances based on the Ramachandran plot regions.
 
updateWorkspaceView(self, all=False, favorable=False, allowed=False, disallowed=False)
Change the workspace appearance based on the Ramachandran plot regions
 
help(self)
Display the help dialog (or a warning dialog if no help can be found).
 
null(self)

Inherited from ui.qt.appframework.AppFramework: addButtonToBottomLayout, addCentralWidget, askOverwrite, askOverwriteIfNecessary, closeEvent, closePanel, createMenus, error, exec_, getApp, getInputFile, getInputSource, getOpenFileName, getOpenFileNames, info, interior, isDockableInMaestro, monitorJob, processEvents, question, quitPanel, restoreCursor, runCommand, setButtonEnabled, setButtonState, setJobViewname, setJobname, setProgress, setProgressError, setWaitCursor, setupJobParameters, show, showEvent, timerEvent, trackJobProgress, updateJobname, updateStatusBar, warning

Inherited from ui.qt.appframework.AppFramework (private): _applyStartDialogParams, _commandCallback, _createMenuItem, _jobprefersettings, _makeItem, _makeMenu, _periodicCallback, _populateEmptyJobname, _read, _reset, _setButtonDefaults, _settings, _setupBottomButtons, _setupDESResIcon, _start, _start_wrapper, _updatePanelJobname, _updateToolWindowFlag, _write

Class Variables [hide private]

Inherited from ui.qt.appframework.AppFramework: jobCompleted, start_wrapper_timeout

Method Details [hide private]

__init__(self, models=None)
(Constructor)

 

Create a ProteinStructureQualityViewer instance

Parameters:
  • models (list) - list of Homology models to view in the panel
Overrides: ui.qt.appframework.AppFramework.__init__

loadModels(self, models=None)

 

Load the models into the viewer

Parameters:
  • models (list or None) - list of Homology models to view in the panel, or None if the selected rows of the project table should be used.
Decorators:
  • @wait_cursor

tabSelected(self, index)

 

When the user switches to the report tab, show everything as wire

Parameters:
  • index (int) - The index of the current tab

showNewStructure(self, struct, chains='all')

 

Show data for a new structure in the Ramachandran plot

Parameters:
  • struct (schrodinger.structure.Structure object) - The structure to display in the plot
  • chains (list or 'all') - list of chain names (or 'all') to display

changePreset(self, choice)

 

Change which preset set of appearances to use when modifying the workspace structure appearances based on the Ramachandran plot regions.

Parameters:
  • choice (str) - Which preset set of appearances to use

updateWorkspaceView(self, all=False, favorable=False, allowed=False, disallowed=False)

 

Change the workspace appearance based on the Ramachandran plot regions

Parameters:
  • all (bool) - If True, all residue appearances will be updated. False is default
  • favorable (bool) - If True, modify the appearance of residues in the favorable regions. If False, do not.
  • allowed (bool) - If True, modify the appearance of residues in the allowed regions. If False, do not.
  • disallowed (bool) - If True, modify the appearance of residues in the disallowed regions. If False, do not.

help(self)

 

Display the help dialog (or a warning dialog if no help can be found). This function requires help_topic to have been given when the class was initialized.

Overrides: ui.qt.appframework.AppFramework.help
(inherited documentation)