Author: bugman
Date: Thu Jan 15 17:17:55 2009
New Revision: 8481

URL: http://svn.gna.org/viewcvs/relax?rev=8481&view=rev
Log:
The write_pdb() method now validates the structural data with validate() before 
doing anything.


Modified:
    branches/multi_structure/generic_fns/structure/internal.py

Modified: branches/multi_structure/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/internal.py?rev=8481&r1=8480&r2=8481&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/internal.py (original)
+++ branches/multi_structure/generic_fns/structure/internal.py Thu Jan 15 
17:17:55 2009
@@ -696,6 +696,9 @@
         @type struct_index:     int
         """
 
+        # Validate the structural data.
+        self.validate()
+
         # Initialise record counts.
         num_hetatm = 0
         num_atom = 0


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to