| Home | Trees | Index | Help |
|
|---|
| Package mmLib :: Module FileLoader |
|
| Function Summary | |
|---|---|
Returns the 3-letter MIME code for the file format. | |
Loads a mmCIF file(.cif) or PDB file(.pdb) into a Structure class and returns it. | |
Saves a Structure object into a supported file type. | |
| Function Details |
|---|
decode_format(path)Returns the 3-letter MIME code for the file format. |
LoadStructure(**args)Loads a mmCIF file(.cif) or PDB file(.pdb) into a Structure class and returns it. The function takes 5 named arguments, one is required: fil = <file object or path; required> format = <PDB|CIF; defaults to PDB> library = <mmLib.Library class; defaults to mmLib.Library> struct = <mmLib.Structure object to build on; defaults to createing new> build_properties = <tuple of strings for the StructureBuilder> |
SaveStructure(**args)Saves a Structure object into a supported file type. fil = <file object or path; required> struct = <mmLib.Structure object to save; required> format = <PDB|CIF; defaults to PDB> |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Wed Nov 24 17:34:56 2004 | http://epydoc.sf.net |