mailr17065 - /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 26, 2012 - 17:47:
Author: bugman
Date: Tue Jun 26 17:47:56 2012
New Revision: 17065

URL: http://svn.gna.org/viewcvs/relax?rev=17065&view=rev
Log:
Fix for the interatomic data container is_empty() method for the new 
variables and methods.


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=17065&r1=17064&r2=17065&view=diff
==============================================================================
--- branches/interatomic/data/interatomic.py (original)
+++ branches/interatomic/data/interatomic.py Tue Jun 26 17:47:56 2012
@@ -116,11 +116,11 @@
         # An object has been added to the container.
         for name in dir(self):
             # Skip the objects initialised in __init__().
-            if name in ['spin_id1', 'spin_id2']:
+            if name in ['dipole_pair', 'spin_id1', 'spin_id2', 'select']:
                 continue
 
             # Skip the SpinContainer methods.
-            if name == 'is_empty':
+            if name in ['id_match', 'is_empty']:
                 continue
 
             # Skip special objects.




Related Messages


Powered by MHonArc, Updated Wed Jun 27 09:20:02 2012