mailr17113 - /branches/interatomic/test_suite/system_tests/relax_data.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 - 20:04:
Author: bugman
Date: Thu Jun 28 20:04:03 2012
New Revision: 17113

URL: http://svn.gna.org/viewcvs/relax?rev=17113&view=rev
Log:
Fixes for all the Relax_data system tests for the interatomic data design.


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

Modified: branches/interatomic/test_suite/system_tests/relax_data.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/test_suite/system_tests/relax_data.py?rev=17113&r1=17112&r2=17113&view=diff
==============================================================================
--- branches/interatomic/test_suite/system_tests/relax_data.py (original)
+++ branches/interatomic/test_suite/system_tests/relax_data.py Thu Jun 28 
20:04:03 2012
@@ -48,6 +48,10 @@
         # Loop over the spins.
         index = 0
         for spin in spin_loop():
+            # Skip deselected protons.
+            if not spin.select:
+                continue
+
             # Check the back calculated data.
             self.assertEqual(spin.ri_data_bc, ri_data_bc[index])
 
@@ -71,6 +75,10 @@
         # Loop over the spins.
         index = 0
         for spin in spin_loop():
+            # Skip deselected protons.
+            if not spin.select:
+                continue
+
             # Check the back calculated data.
             self.assertEqual(spin.ri_data_bc, ri_data_bc[index])
 
@@ -94,6 +102,10 @@
         # Loop over the spins.
         index = 0
         for spin in spin_loop():
+            # Skip deselected protons.
+            if not spin.select:
+                continue
+
             # Check the back calculated data.
             self.assertEqual(spin.ri_data_bc, ri_data_bc[index])
 




Related Messages


Powered by MHonArc, Updated Thu Jun 28 20:20:08 2012