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

Class TLSFileFormatTLSOUT

source code

   object --+    
            |    
TLSFileFormat --+
                |
               TLSFileFormatTLSOUT

Read/Write REFMAC TLSIN/TLSOUT files. Note that this includes TLS+Biso values.

Instance Methods [hide private]
 
convert_frag_id_load(self, frag_id)
Converts the residue sequence code to a mmLib fragment_id.
source code
 
convert_frag_id_save(self, frag_id)
Converts a mmLib fragment_id to a TLSOUT fragment id.
source code
 
load_supported(self)
Returns True if file loading is supported, otherwise returns False.
source code
 
save_supported(self)
Return True if file saving is supported, otherwise returns False.
source code
 
load(self, fil)
Returns a list containing one TLSGroupDesc object for each TLS group description found in the file.
source code
 
tlsout_tls_desc(self, tls_desc)
Converts TLSGroupDesc instance to a multi-line string format ready to write to a TLSOUT file.
source code
 
save(self, fil, tls_desc_list)
Writes the list of TLSGroupDesc object to the given file.
source code

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

Class Variables [hide private]
  tlsout_regex_dict = {'L': re.compile(r'^\s*L\s+(\S+)\s+(\S+)\s...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

load_supported(self)

source code 

Returns True if file loading is supported, otherwise returns False.

Overrides: TLSFileFormat.load_supported
(inherited documentation)

save_supported(self)

source code 

Return True if file saving is supported, otherwise returns False.

Overrides: TLSFileFormat.save_supported
(inherited documentation)

load(self, fil)

source code 

Returns a list containing one TLSGroupDesc object for each TLS group description found in the file.

Overrides: TLSFileFormat.load
(inherited documentation)

save(self, fil, tls_desc_list)

source code 

Writes the list of TLSGroupDesc object to the given file.

Overrides: TLSFileFormat.save
(inherited documentation)

Class Variable Details [hide private]

tlsout_regex_dict

Value:
{'L': re.compile(r'^\s*L\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S\
+).*$'),
 'S': re.compile(r'^\s*S\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S\
+)\s+(\S+)\s+(\S+).*$'),
 'T': re.compile(r'^\s*T\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S\
+).*$'),
 'group': re.compile(r'(?:^\s*TLS\s*$)|(?:^\s*TLS\s+(.*)$)'),
 'origin': re.compile(r'^\s*ORIGIN\s+(\S+)\s+(\S+)\s+(\S+).*$'),
...