mailr16872 - /branches/interatomic/data/interatomic.py


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

Header


Content

Posted by edward on June 11, 2012 - 22:31:
Author: bugman
Date: Mon Jun 11 22:31:00 2012
New Revision: 16872

URL: http://svn.gna.org/viewcvs/relax?rev=16872&view=rev
Log:
Fix for the id_match() method - there are no indices.


Modified:
    branches/interatomic/data/interatomic.py

Modified: branches/interatomic/data/interatomic.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/data/interatomic.py?rev=16872&r1=16871&r2=16872&view=diff
==============================================================================
--- branches/interatomic/data/interatomic.py (original)
+++ branches/interatomic/data/interatomic.py Mon Jun 11 22:31:00 2012
@@ -89,9 +89,9 @@
         """
 
         # Check the IDs in both directions.
-        if spin_id1 == self[i].spin_id1 and spin_id2 == self[i].spin_id2:
+        if spin_id1 == self.spin_id1 and spin_id2 == self.spin_id2:
             return True
-        elif spin_id1 == self[i].spin_id2 and spin_id2 == self[i].spin_id1:
+        elif spin_id1 == self.spin_id2 and spin_id2 == self.spin_id1:
             return True
         else:
             return False




Related Messages


Powered by MHonArc, Updated Mon Jun 11 22:40:02 2012