Author: bugman Date: Thu Feb 21 09:58:54 2008 New Revision: 5078 URL: http://svn.gna.org/viewcvs/relax?rev=5078&view=rev Log: Merged revisions 5076 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/1.3 ........ r5076 | bugman | 2008-02-21 09:57:46 +0100 (Thu, 21 Feb 2008) | 3 lines Updated the write_pdb_file() to accept the atomic_data object as an argument. ........ Modified: branches/N_state_model/ (props changed) branches/N_state_model/generic_fns/structure.py Propchange: branches/N_state_model/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: branches/N_state_model/generic_fns/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/generic_fns/structure.py?rev=5078&r1=5077&r2=5078&view=diff ============================================================================== --- branches/N_state_model/generic_fns/structure.py (original) +++ branches/N_state_model/generic_fns/structure.py Thu Feb 21 09:58:54 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.