Package schrodinger :: Package application :: Package bioluminate :: Package ssv :: Module toolbars :: Class ConsensusToolBar
[hide private]
[frames] | no frames]

Class ConsensusToolBar

PyQt4.QtGui.QToolBar --+
                       |
                      ConsensusToolBar

A toolbar associated with the viewer that will handle display options. These actions will be available through the toolbar:

Instance Methods [hide private]
 
__init__(self, parent)
The parent needs to be an instance of the SimplifiedSequenceViewer.
 
initActionStates(self)
Called when a set of structures are imported.
action
water_action(self)
Get the toggle_water action for the corresponding toolbar button
action
ion_action(self)
Get the toggle_counterions action for the corresponding toolbar button
action
ligand_action(self)
Get the toggle_ligands action for the corresponding toolbar button
 
_displayInWorkspace(self, asl)
Displays all atoms with asl in the workspace
 
_undisplayInWorkspace(self, asl)
Hides all atoms with asl in the workspace
 
_toggleView(self, asl)
Private method to display/hide atoms based on ASL.
 
_viewConsensus(self, asl)
Private method to display/hide consensus atoms based on ASL.
int
getReferenceEntryId(self)
Gets the PT entry ID for the reference structure.
 
viewFirstProtein(self)
Displays only the reference st in the workspace
 
viewAllProteins(self)
Includes all structures in the sequence viewer in the Workspace
 
toggleWaters(self)
Slot to show/hide all waters
 
consensusWaters(self)
Slot to show all consensus waters
 
toggleCounterions(self)
Slot to show/hide all ions
 
consensusCounterions(self)
Slot to show all consensus ions
 
toggleLigands(self)
Slot to show/hide all ligands
 
consensusLigands(self)
Slot to show all consensus ligands
Class Variables [hide private]
  ASL_WATER = '(water AND (NOT atom.ele H))'
  ASL_IONS = 'ions'
  ASL_LIGAND = '(((m.atoms 5-130)) and not ((ions) or '
Method Details [hide private]

initActionStates(self)

 

Called when a set of structures are imported. This will:

  • Include all structures in the WS
  • Hide waters
  • Hide ions
  • Show all ligands

water_action(self)

 

Get the toggle_water action for the corresponding toolbar button

Returns: action
Decorators:
  • @property

ion_action(self)

 

Get the toggle_counterions action for the corresponding toolbar button

Returns: action
Decorators:
  • @property

ligand_action(self)

 

Get the toggle_ligands action for the corresponding toolbar button

Returns: action
Decorators:
  • @property

_toggleView(self, asl)

 

Private method to display/hide atoms based on ASL. This method must be called by a toggle slot method.

getReferenceEntryId(self)

 

Gets the PT entry ID for the reference structure.

Returns: int
Reference entry id