Package AutoDockTools :: Module autogpfCommands :: Class GpfInitLigand
[hide private]
[frames] | no frames]

Class GpfInitLigand

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
              Pmv.mvCommand.MVCommand --+
                                        |
                                       GpfInitLigand

initializes the ligand:
checkCharges
getTypes
getSideLengths
setAutoDockElements
colorByAtom + color aromatic C's green

GUI allows user to:
    decide which types of hydrogen bonds to model
    modify list of atom types detected in ligand



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, mol, **kw)
None <- commandName( *args, **kw)
  doit(self, mol)
virtual method.
  buildForm(self)
  Close_cb(self, event=None)
  Accept_cb(self, event=None)
  showLigand(self, ligand, event=None)
  getTypes(self, ligand)
ligand.types<-getTypes(ligand)
  updateTypes(self, event=None)

Inherited from Pmv.mvCommand.MVCommand: __init__, guiCallback, strArg

Inherited from Pmv.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, setupUndoBefore, 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)

__call__(self, mol, **kw)
(Call operator)

source code 
None <- commandName( *args, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__
(inherited documentation)

doit(self, mol)

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

buildForm(self)

source code 
None

Close_cb(self, event=None)

source code 
None

Accept_cb(self, event=None)

source code 
None

showLigand(self, ligand, event=None)

source code 
None

getTypes(self, ligand)

source code 
ligand.types<-getTypes(ligand)

updateTypes(self, event=None)

source code 
None