mailr16974 - /branches/interatomic/test_suite/system_tests/model_free.py


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

Header


Content

Posted by edward on June 19, 2012 - 20:21:
Author: bugman
Date: Tue Jun 19 20:21:40 2012
New Revision: 16974

URL: http://svn.gna.org/viewcvs/relax?rev=16974&view=rev
Log:
Fixes for the model-free system test check_read_results_1_3() method for the 
interatomic data design.


Modified:
    branches/interatomic/test_suite/system_tests/model_free.py

Modified: branches/interatomic/test_suite/system_tests/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/test_suite/system_tests/model_free.py?rev=16974&r1=16973&r2=16974&view=diff
==============================================================================
--- branches/interatomic/test_suite/system_tests/model_free.py (original)
+++ branches/interatomic/test_suite/system_tests/model_free.py Tue Jun 19 
20:21:40 2012
@@ -87,7 +87,7 @@
 
         # Test that the objects in the base pipes are the same.
         print("Comparison of the objects of the base data pipe:")
-        self.object_comparison(obj1=pipe_12, obj2=pipe_13, skip=['mol', 
'diff_tensor'])
+        self.object_comparison(obj1=pipe_12, obj2=pipe_13, skip=['mol', 
'interatomic', 'diff_tensor'])
 
         # Test that the diffusion tensor data is the same.
         print("Comparison of the objects of the diffusion tensor:")
@@ -123,6 +123,12 @@
                     # Test the objects.
                     print("Comparison of the objects of the spin:")
                     
self.object_comparison(obj1=pipe_12.mol[i].res[j].spin[k], 
obj2=pipe_13.mol[i].res[j].spin[k])
+
+        # Loop over the interatomic data containers.
+        for i in xrange(len(pipe_12.interatomic)):
+            # Test the objects.
+            print("Comparison of the objects of the molecule:")
+            self.object_comparison(obj1=pipe_12.interatomic[i], 
obj2=pipe_13.interatomic[i])
 
 
     def mesg_opt_debug(self, spin):




Related Messages


Powered by MHonArc, Updated Tue Jun 19 20:40:02 2012