Package Pmv :: Module fileCommands :: Class PQRWriter
[hide private]
[frames] | no frames]

Class PQRWriter

source code

ViewerFramework.VFCommand.Command --+        
                                    |        
                  mvCommand.MVCommand --+    
                                        |    
                                PDBWriter --+
                                            |
                                           PQRWriter

Command to write PQR files using a PQR spec compliant writer
    
Package : Pmv
    
Module  : fileCommands
    
Class   : PQRWriter
    
Command : writePQR
    
Synopsis:

    None <- writePQR(filename, nodes, sort=True, **kw)
    
Required Arguments:
      
           filename --- name of the PQR file
           nodes --- TreeNodeSet holding the current selection

    
Optional Arguments:
        
           sort --- default is 1    
    



Instance Methods [hide private]
  doit(self, filename, nodes, sort)
virtual method.
  __call__(self, filename, nodes, sort=True, recType='all', **kw)
None <--- writePQR(filename, nodes, sort=True, **kw)
  guiCallback(self)

Inherited from PDBWriter: __init__, add_cb, buildFormDescr, dismiss_cb, remove_cb, setEntry_cb, setNewCoords, showPDBHelp

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

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


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

doit(self, filename, nodes, sort)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: PDBWriter.doit

__call__(self, filename, nodes, sort=True, recType='all', **kw)
(Call operator)

source code 

None <--- writePQR(filename, nodes, sort=True, **kw)

filename --- name of the PQR file

nodes --- TreeNodeSet holding the current selection

sort --- default is 1
Overrides: PDBWriter.__call__

guiCallback(self)

source code 
None
Overrides: PDBWriter.guiCallback