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

Class OBSLTE

source code

object --+        
         |        
      dict --+    
             |    
     PDBRecord --+
                 |
                OBSLTE

OBSLTE appears in entries which have been withdrawn from distribution. This record acts as a flag in an entry which has been withdrawn from the PDB's full release. It indicates which, if any, new entries have replaced the withdrawn entry. The format allows for the case of multiple new entries replacing one existing entry.

Instance Methods [hide private]
 
process(self, recs)
Processes continued record list to a list of dictionary objects.
source code

Inherited from PDBRecord: __str__, read, reccat, reccat_dictlist, reccat_list, reccat_multi, reccat_tuplelist, write

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __init__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

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

Class Variables [hide private]
  _name = 'OBSLTE'
hash(x)
  _multi_record = 'continuation'
  _field_list = [('continuation', 9, 10, 'integer', 'rjust', Non...
hash(x)

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

process(self, recs)

source code 

Processes continued record list to a list of dictionary objects. Each dictionary contains the data from one OBSLTE idCode.


Class Variable Details [hide private]

_field_list

hash(x)

Value:
[('continuation', 9, 10, 'integer', 'rjust', None),
 ('repDate', 12, 20, 'string', 'rjust', None),
 ('idCode', 22, 25, 'string', 'rjust', None),
 ('rIdCode1', 32, 35, 'string', 'rjust', None),
 ('rIdCode2', 37, 40, 'string', 'rjust', None),
 ('rIdCode3', 42, 45, 'string', 'rjust', None),
 ('rIdCode4', 47, 50, 'string', 'rjust', None),
 ('rIdCode5', 52, 55, 'string', 'rjust', None),
...