mailr17097 - /branches/interatomic/generic_fns/interatomic.py


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

Header


Content

Posted by edward on June 28, 2012 - 15:40:
Author: bugman
Date: Thu Jun 28 15:40:35 2012
New Revision: 17097

URL: http://svn.gna.org/viewcvs/relax?rev=17097&view=rev
Log:
Bug fix for the interatomic_loop() function for when only a single spin ID is 
used.


Modified:
    branches/interatomic/generic_fns/interatomic.py

Modified: branches/interatomic/generic_fns/interatomic.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/generic_fns/interatomic.py?rev=17097&r1=17096&r2=17097&view=diff
==============================================================================
--- branches/interatomic/generic_fns/interatomic.py (original)
+++ branches/interatomic/generic_fns/interatomic.py Thu Jun 28 15:40:35 2012
@@ -243,7 +243,7 @@
 
         # Check that the selections are met.
         if select_obj:
-            if (mol1, res1, spin1) not in select_obj or (mol2, res2, spin2) 
in select_obj:
+            if (mol1, res1, spin1) not in select_obj and (mol2, res2, spin2) 
not in select_obj:
                 continue
         if select_obj1:
             if not ((mol1, res1, spin1) in select_obj1 or (mol2, res2, 
spin2) in select_obj1) or not ((mol1, res1, spin1) in select_obj2 or (mol2, 
res2, spin2) in select_obj2):




Related Messages


Powered by MHonArc, Updated Thu Jun 28 16:00:02 2012