Package mmLib :: Module TLS :: Class TLSFileFormatTLSOUT
[show private | hide private]
[frames | no frames]

Type TLSFileFormatTLSOUT

   object --+    
            |    
TLSFileFormat --+
                |
               TLSFileFormatTLSOUT


Read/Write REFMAC5 TLSIN/TLSOUT files.
Method Summary
  convert_frag_id_load(self, frag_id)
Converts the residue sequence code to a mmLib fragment_id.
  convert_frag_id_save(self, frag_id)
Converts a mmLib fragment_id to a TLSOUT fragment id.
  load(self, fil)
Returns a list containing one TLSGroupDesc object for each TLS group description found in the file.
  load_supported(self)
Returns True if file loading is supported, otherwise returns False.
  save(self, fil, tls_desc_list)
Writes the list of TLSGroupDesc object to the given file.
  save_supported(self)
Return True if file saving is supported, otherwise returns False.
  tlsout_tls_desc(self, tls_desc)
Converts TLSGroupDesc instance to a multi-line string format ready to write to a TLSOUT file.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
dict tlsout_regex_dict = {'origin': <_sre.SRE_Pattern object ...

Method Details

convert_frag_id_load(self, frag_id)

Converts the residue sequence code to a mmLib fragment_id.

convert_frag_id_save(self, frag_id)

Converts a mmLib fragment_id to a TLSOUT fragment id.

load(self, fil)

Returns a list containing one TLSGroupDesc object for each TLS group description found in the file.
Overrides:
mmLib.TLS.TLSFileFormat.load (inherited documentation)

load_supported(self)

Returns True if file loading is supported, otherwise returns False.
Overrides:
mmLib.TLS.TLSFileFormat.load_supported (inherited documentation)

save(self, fil, tls_desc_list)

Writes the list of TLSGroupDesc object to the given file.
Overrides:
mmLib.TLS.TLSFileFormat.save (inherited documentation)

save_supported(self)

Return True if file saving is supported, otherwise returns False.
Overrides:
mmLib.TLS.TLSFileFormat.save_supported (inherited documentation)

tlsout_tls_desc(self, tls_desc)

Converts TLSGroupDesc instance to a multi-line string format ready to write to a TLSOUT file.

Class Variable Details

tlsout_regex_dict

Type:
dict
Value:
{'L': <_sre.SRE_Pattern object at 0x91bab60>,
 'S': <_sre.SRE_Pattern object at 0x91ba720>,
 'T': <_sre.SRE_Pattern object at 0x91ba9d8>,
 'group': <_sre.SRE_Pattern object at 0xb796c1d0>,
 'origin': <_sre.SRE_Pattern object at 0x9098610>,
 'range': <_sre.SRE_Pattern object at 0x91d3cb8>}                      

Generated by Epydoc 2.1 on Sun Apr 23 22:08:38 2006 http://epydoc.sf.net