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

Class SaveMMCIF

source code

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

This command writes macromolecular Crystallographic Information File (mmCIF).
    
Package : Pmv
    
Module  : fileCommands
    
Class   : SaveMMCIF
    
Command : saveMMCIF
    
Synopsis:

        None<---saveMMCIF(filename, nodes)
    
Required Arguments:

        filename --- name of the mmcif file (default=None). If None is given
                  The name of the molecule plus the .cif extension will be used
   
        nodes ---  TreeNodeSet holding the current selection
    



Instance Methods [hide private]
  doit(self, filename, nodes)
virtual method.
  __call__(self, filename, nodes, **kw)
None<---saveMMCIF(filename,nodes) filename --- name of the mmcif file (default=None).
  guiCallback(self)
Default callback function called by the gui

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, 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)

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

__call__(self, filename, nodes, **kw)
(Call operator)

source code 
None<---saveMMCIF(filename,nodes)
        
filename --- name of the mmcif file (default=None). If None is given
                  The name of the molecule plus the .cif extension will be used
   
        
nodes ---  TreeNodeSet holding the current selection
        

Overrides: ViewerFramework.VFCommand.Command.__call__

guiCallback(self)

source code 
Default callback function called by the gui
Overrides: mvCommand.MVCommand.guiCallback