Package mmLib :: Module mmCIFDB :: Class mmCIFDB
[hide private]
[frames] | no frames]

Class mmCIFDB

source code

 object --+        
          |        
       list --+    
              |    
mmCIF.mmCIFData --+
                  |
                 mmCIFDB

Database class for the storage and access of structural data. This database is organized according to mmCIF data tags. Methods to lookup common structure items are included.

Instance Methods [hide private]
 
__str__(self)
str(x)
source code
 
add_table(self, table) source code
 
add_tables(self, tables) source code
 
confirm_table(self, table_name)
Return table table_name, create the table if necessary.
source code
 
get_single(self, table_name, col_name)
Utility function for getting a table where there should only be a single row of data.
source code
 
set_single(self, table_name, col_name, val)
Utility function for setting a table where there should only be a single row of data.
source code
 
get_entry_id(self)
Methods to get/set the structure ID.
source code
 
set_entry_id(self, idcode) source code
 
get_deposition_date(self)
Return the original deposition date as stored in _database_pdb_ref.date_original.
source code
 
set_deposition_date(self, date) source code
 
get_struct_keywords(self)
Return structure keywords as stored in _struct_keywords.text.
source code
 
set_struct_keywords(self, text) source code

Inherited from mmCIF.mmCIFData: __deepcopy__, __delitem__, __eq__, __getattr__, __getitem__, __init__, __setitem__, append, get, get_table, get_tag, has_key, has_table, insert, join_tag, new_table, remove, set_tag, split_tag

Inherited from list: __add__, __contains__, __delslice__, __ge__, __getattribute__, __getslice__, __gt__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setslice__, __sizeof__, count, extend, index, pop, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]

Inherited from mmCIF.mmCIFData: file, name

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)