edward | 28 Jun 2012 20:04
Favicon

r17113 - /branches/interatomic/test_suite/system_tests/relax_data.py

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
 <at>  <at>  -48,6 +48,10  <at>  <at> 
         # 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])

 <at>  <at>  -71,6 +75,10  <at>  <at> 
         # Loop over the spins.
         index = 0
(Continue reading)


Gmane