Package schrodinger :: Package protein :: Module getpdb_utility :: Class WholePDB
[hide private]
[frames] | no frames]

Class WholePDB

object --+
         |
        WholePDB

Class to take care of the file work for entire PDB files.

Instance Methods [hide private]
 
__init__(self, code)
Create a WholePDB object.
 
openFile(self, web)
 
write(self, line)
If we are writing a file, add this line to it.
 
closeFile(self)
Close the file if it is open
bool
checkOK(self)
This is just a stub routine for compatibility with the Chain class

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, code)
(Constructor)

 

Create a WholePDB object.

Parameters:
  • code (str) - the PDB code for this file
Overrides: object.__init__

write(self, line)

 

If we are writing a file, add this line to it.

Parameters:
  • line (str) - The line to add to the file

checkOK(self)

 

This is just a stub routine for compatibility with the Chain class

Returns: bool
True