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

Class readFromWebCommand

source code

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

Command to read  pdb from ftp://ftp.rcsb.org
    
Package : Pmv
    
Module  : fileCommands
    
Class   : readFromWebCommand
    
Command : readFromWeb
    
Synopsis:

        mols <- readMOL2(keyword, **kw)
    
Required Arguments:
     PDB ID  
        keyword --- PDB ID
    



Instance Methods [hide private]
  message_box(self)
  find_list(self, keyword)
This function is to find out number of pages molecules are listed and get all molecule and information.
  doit(self, pdbID)
virtual method.
  hide(self, event=None)
  buildFormDescr(self, formName)
descr <- buildFormDescr(self, formName): this virtual method is implemented in the classes derived from Command.
  guiCallback(self, **kw)
  getPDBCachedir(self)
  clearPDBCache(self)
  dismiss_cb(self)
  ok(self)

Inherited from mvCommand.MVCommand: __init__, strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __call__, __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]
  baseURI = 'http://www.rcsb.org/pdb/download/downloadFile.do?fi...
  searchURI = 'http://www.rcsb.org/pdb/search/navbarsearch.do?inpu...
  resultURI = 'http://www.rcsb.org/pdb/results/results.do'
  rcFolder = '/home/sargis/.mgltools/1.4.6'
  width = 440
  height = 200
  listmols = []

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

message_box(self)

source code 
None

find_list(self, keyword)

source code 
This function is to find out number of pages molecules are listed and get all molecule and information.

doit(self, pdbID)

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

hide(self, event=None)

source code 
None

buildFormDescr(self, formName)

source code 
descr <- buildFormDescr(self, formName): this virtual method is implemented in the classes derived from Command. This is where the inputFormDescr is created and the description of the widgets appended. If a command has several inputForm buildFormDescr should build all the inputFormDescr and you do a if / elif check to know which one to create. formName : string name of the form corresponding to this descr.
Overrides: ViewerFramework.VFCommand.Command.buildFormDescr
(inherited documentation)

guiCallback(self, **kw)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback

getPDBCachedir(self)

source code 
None

clearPDBCache(self)

source code 
None

dismiss_cb(self)

source code 
None

ok(self)

source code 
None

Class Variable Details [hide private]

baseURI

None
Value:
'http://www.rcsb.org/pdb/download/downloadFile.do?fileFormat=pdb&compr
ession=NO&structureId='                                                
      

searchURI

None
Value:
'http://www.rcsb.org/pdb/search/navbarsearch.do?inputQuickSearch='     
      

resultURI

None
Value:
'http://www.rcsb.org/pdb/results/results.do'                           
      

rcFolder

None
Value:
'/home/sargis/.mgltools/1.4.6'                                         
      

width

None
Value:
440                                                                   
      

height

None
Value:
200                                                                   
      

listmols

None
Value:
[]