Author: bugman Date: Thu Feb 21 09:57:46 2008 New Revision: 5076 URL: http://svn.gna.org/viewcvs/relax?rev=5076&view=rev Log: Updated the write_pdb_file() to accept the atomic_data object as an argument. Modified: 1.3/generic_fns/structure.py Modified: 1.3/generic_fns/structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure.py?rev=5076&r1=5075&r2=5076&view=diff ============================================================================== --- 1.3/generic_fns/structure.py (original) +++ 1.3/generic_fns/structure.py Thu Feb 21 09:57:46 2008 @@ -1173,7 +1173,7 @@ return vectors -def write_pdb_file(file): +def write_pdb_file(atomic_data, file): """Function for creating a PDB file from the given data. Introduction @@ -1403,10 +1403,10 @@ - - @param file: The PDB file object. This object must be writable. - @type file: file object - @return: None + @param atomic_data: The dictionary containing the atomic data. + @type atomic_data: dict + @param file: The PDB file object. This object must be writable. + @type file: file object """ # Sort the atoms.