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

Class ModifyCTerminus

source code

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

This command removes hydrogens from C-atom of internal c-termini residues.
An internal c-terminus occurs when residues are missing from a chain.
   
Package : Pmv
   
Module  : repairCommands
   
Class   : ModifyCTerminus 
   
Command : modifyCTerminus
   
Synopsis:

        None<---modifyCTerminus(resSet,**kw)
   
Required Arguments:
     
        resSet --- residues which are inside a chain and not bonded to a next residue in chain
    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, resSet, **kw)
None<---modifyCTerminus(resSet,**kw)
  doit(self, resSet)
None<---modifyCTerminus(resSet)

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, resSet, **kw)
(Call operator)

source code 

None<---modifyCTerminus(resSet,**kw)

resSet --- residues which are inside a chain and not bonded to a next residue in chain
Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, resSet)

source code 
None<---modifyCTerminus(resSet)
Overrides: ViewerFramework.VFCommand.Command.doit