Author: bugman
Date: Thu Jan 15 17:15:59 2009
New Revision: 8480

URL: http://svn.gna.org/viewcvs/relax?rev=8480&view=rev
Log:
Bug fix for the new validate() method.


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

Modified: branches/multi_structure/generic_fns/structure/api_base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/api_base.py?rev=8480&r1=8479&r2=8480&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/api_base.py (original)
+++ branches/multi_structure/generic_fns/structure/api_base.py Thu Jan 15 
17:15:59 2009
@@ -692,7 +692,7 @@
         num_mols = len(self.structural_data[0].mol)
 
         # Loop over all other models.
-        for i in range(1, len(self.structural_data)+1):
+        for i in range(1, len(self.structural_data)):
             if num_mols != len(self.structural_data[i].mol):
                 raise RelaxError, "The structural object is not valid - the 
number of molecules is not the same for all models."
 


_______________________________________________
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