Package Pmv :: Module displayCommands :: Class DisplayInteractionsCommand
[hide private]
[frames] | no frames]

Class DisplayInteractionsCommand

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       DisplayInteractionsCommand

The DisplayInteractionsCommand class is used to display interactions between a 'ligand' and a 'receptor' molecule: the ligand is displayed with a msms surface...

Package : Pmv

Module : displayCommands

Class : DisplayInteractionsCommand

Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  update_managed_sets(self, event=None)
  getSSResidues(self, mol)
  setupUndoBefore(self, lig, macro)
This method builds the self.undoCmds string.
  updateCpk(self, lig, macro)
  restoreCpk(self, lig, macro, **kw)
  guiCallback(self)
called each time the 'Visualize Complex in Context' button is pressed
  Accept_cb(self, event=None)
  buildForm(self)
  __call__(self, lig, macro, **kw)
None<-displayInteractions(self, lig, macro)
  cleanUpCrossSet(self)
  Close_cb(self, event=None)
  revert(self, event=None, **kw)
  close(self, event=None, **kw)
  save(self, filename=None, event=None)
  updatePercentCutoff(self, lig, macro, event=None)
  buildDisplayForm(self, lig, macro, event=None)
  updateSphereDisplay(self, lig, macro, event=None)
  printInfo(self, event=None)
  print_macro_residue_contacts(self, event=None)
  print_ligand_residue_contacts(self, event=None)
  print_hydrogen_bonds(self, event=None)
  updateMsms(self, lig, macro)
  updateHBonds(self, lig, macro)
  updateCCCpk(self, lig, macro, event=None)
  showHideSecondaryStructure(self, lig, macro)
  updateSecondaryStructure(self, lig, macro)
  updateMM(self, lig, macro, event=None)
  reset(self, lig, macro)
  buildLigandDisplay(self, lig, macro)
  buildCloseAtoms(self, lig, macro)
  buildHbondDisplay(self, lig, macro)
  build(self, lig, macro, percentCutoff=1.)
  updatePiCation(self, event=None)
  updatePiPi(self, event=None)
  updateResLabels(self, event=None)
  doit(self, lig, macro, **kw)
virtual method.

Inherited from mvCommand.MVCommand: __init__, strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildFormDescr, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, showForm, tkCb, updateGeom, warningMsg


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

onAddCmdToViewer(self)

source code 
method called when an instance of this command is added to the viewer. This enable viewer-addition time initializations
Overrides: ViewerFramework.VFCommand.Command.onAddCmdToViewer
(inherited documentation)

update_managed_sets(self, event=None)

source code 
None

getSSResidues(self, mol)

source code 
None

setupUndoBefore(self, lig, macro)

source code 
This method builds the self.undoCmds string. This method should have the same signature than the __call__. When this string is executed it should undo the actions of this command. This string will be appended to the undoCmdStack list if the command is successfuly carried out. This method handles only commands with the negateKw. Other commands have to overwrite it.
Overrides: ViewerFramework.VFCommand.Command.setupUndoBefore
(inherited documentation)

updateCpk(self, lig, macro)

source code 
None

restoreCpk(self, lig, macro, **kw)

source code 
None

guiCallback(self)

source code 
called each time the 'Visualize Complex in Context' button is pressed
Overrides: mvCommand.MVCommand.guiCallback

Accept_cb(self, event=None)

source code 
None

buildForm(self)

source code 
None

__call__(self, lig, macro, **kw)
(Call operator)

source code 

None<-displayInteractions(self, lig, macro)

lig:

macro:
Overrides: ViewerFramework.VFCommand.Command.__call__

cleanUpCrossSet(self)

source code 
None

Close_cb(self, event=None)

source code 
None

revert(self, event=None, **kw)

source code 
None

close(self, event=None, **kw)

source code 
None

save(self, filename=None, event=None)

source code 
None

updatePercentCutoff(self, lig, macro, event=None)

source code 
None

buildDisplayForm(self, lig, macro, event=None)

source code 
None

updateSphereDisplay(self, lig, macro, event=None)

source code 
None

printInfo(self, event=None)

source code 
None

print_macro_residue_contacts(self, event=None)

source code 
None

print_ligand_residue_contacts(self, event=None)

source code 
None

print_hydrogen_bonds(self, event=None)

source code 
None

updateMsms(self, lig, macro)

source code 
None

updateHBonds(self, lig, macro)

source code 
None

updateCCCpk(self, lig, macro, event=None)

source code 
None

showHideSecondaryStructure(self, lig, macro)

source code 
None

updateSecondaryStructure(self, lig, macro)

source code 
None

updateMM(self, lig, macro, event=None)

source code 
None

reset(self, lig, macro)

source code 
None

buildLigandDisplay(self, lig, macro)

source code 
None

buildCloseAtoms(self, lig, macro)

source code 
None

buildHbondDisplay(self, lig, macro)

source code 
None

build(self, lig, macro, percentCutoff=1.)

source code 
None

updatePiCation(self, event=None)

source code 
None

updatePiPi(self, event=None)

source code 
None

updateResLabels(self, event=None)

source code 
None

doit(self, lig, macro, **kw)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: ViewerFramework.VFCommand.Command.doit
(inherited documentation)