Package Pmv :: Module repairCommands :: Class EditHistHydrogens
[hide private]
[frames] | no frames]

Class EditHistHydrogens

source code

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

Allows user to edit hydrogens in histidine residues
     
Package : Pmv
   
Module  : repairCommands
   
Class   : EditHistHydrogens
   
Command : editHist_h
   
Synopsis:

            newHydrogens <--- editHist_h(nodeDict, **kw)
   
Required Arguments:
        
            nodeDict --- a dictionary of a TreeNodeSet holding the current selection
    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, nodeDict, **kw)
newHydrogens <--- editHist_h(nodeDict, **kw)
  doit(self, nodeDict)
virtual method.
  editHIS(self, res, key)
  fixCharges(self, h, a, kollCh, gastCh)
  HD1(self, res, hasHD1, hasHE2)
  HE2(self, res, hasHD1, hasHE2)
  HD1HE2(self, res, hasHD1, hasHE2)
  addNewH(self, a, name)

Inherited from mvCommand.MVCommand: __init__, guiCallback, 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, 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, nodeDict, **kw)
(Call operator)

source code 

newHydrogens <--- editHist_h(nodeDict, **kw)

nodeDict --- a dictionary of a TreeNodeSet holding the current selection
Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, nodeDict)

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

editHIS(self, res, key)

source code 
None

fixCharges(self, h, a, kollCh, gastCh)

source code 
None

HD1(self, res, hasHD1, hasHE2)

source code 
None

HE2(self, res, hasHD1, hasHE2)

source code 
None

HD1HE2(self, res, hasHD1, hasHE2)

source code 
None

addNewH(self, a, name)

source code 
None