mailr6712 - /branches/rdc_analysis/generic_fns/structure/internal.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on July 05, 2008 - 01:21:
Author: bugman
Date: Sat Jul  5 01:10:15 2008
New Revision: 6712

URL: http://svn.gna.org/viewcvs/relax?rev=6712&view=rev
Log:
Fix for the creation of the het_atom data structure.

The index i was being overwritten!


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

Modified: branches/rdc_analysis/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/generic_fns/structure/internal.py?rev=6712&r1=6711&r2=6712&view=diff
==============================================================================
--- branches/rdc_analysis/generic_fns/structure/internal.py (original)
+++ branches/rdc_analysis/generic_fns/structure/internal.py Sat Jul  5 
01:10:15 2008
@@ -730,8 +730,8 @@
 
                 # Find if the atom has already a count entry.
                 entry = False
-                for i in xrange(len(het_data[-1][4])): 
-                    if struct.element[i] == het_data[-1][4][i][0]:
+                for j in xrange(len(het_data[-1][4])): 
+                    if struct.element[i] == het_data[-1][4][j][0]:
                         entry = True
 
                 # Create a new specific atom count entry.




Related Messages


Powered by MHonArc, Updated Sat Jul 05 01:40:17 2008