mailr3544 - /1.3/test_suite/unit_tests/generic_fns/test_spin.py


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

Header


Content

Posted by edward on November 18, 2007 - 19:50:
Author: bugman
Date: Sun Nov 18 19:50:35 2007
New Revision: 3544

URL: http://svn.gna.org/viewcvs/relax?rev=3544&view=rev
Log:
Added a description of the data setup for all the spin unit tests.


Modified:
    1.3/test_suite/unit_tests/generic_fns/test_spin.py

Modified: 1.3/test_suite/unit_tests/generic_fns/test_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/generic_fns/test_spin.py?rev=3544&r1=3543&r2=3544&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/generic_fns/test_spin.py (original)
+++ 1.3/test_suite/unit_tests/generic_fns/test_spin.py Sun Nov 18 19:50:35 
2007
@@ -57,7 +57,23 @@
 
 
     def setup_data(self):
-        """Function for setting up some data for the unit tests."""
+        """Function for setting up some data for the unit tests.
+        
+        The data is:
+
+        ID      Molecule        Res number      Res name        Spin number  
   Spin name
+        0,0,0   Old mol         1               Ala             111          
   C8
+        0,0,1   Old mol         1               Ala             6            
   C19
+        0,0,2   Old mol         1               Ala             7            
   C21
+        0,0,3   Old mol         1               Ala             8            
   C24
+        0,0,4   Old mol         1               Ala             9            
   C26
+        0,1,0   Old mol         2               Arg             78           
   NH
+        1,0,0   New mol         5               Lys             239          
   NH
+        1,1,0   New mol         6               Thr             None         
   None
+        1,1,1   New mol         6               Thr             3239         
   NH
+
+        The IDs correspond to the molecule, residue and spin indecies.
+        """
 
         # Alias the relax data store.
         cdp = relax_data_store['orig']
@@ -393,4 +409,3 @@
         
self.assertEqual(relax_data_store['orig'].mol[1].res[1].spin[1].name, 'NHe')
 
 
-




Related Messages


Powered by MHonArc, Updated Sun Nov 18 20:00:12 2007