mailr3881 - /1.3/test_suite/unit_tests/_generic_fns/test_selection.py


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

Header


Content

Posted by edward on November 24, 2007 - 12:34:
Author: bugman
Date: Sat Nov 24 12:34:21 2007
New Revision: 3881

URL: http://svn.gna.org/viewcvs/relax?rev=3881&view=rev
Log:
Fixes for the unit tests of the spin and molecule loops when no data is 
present.


Modified:
    1.3/test_suite/unit_tests/_generic_fns/test_selection.py

Modified: 1.3/test_suite/unit_tests/_generic_fns/test_selection.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_generic_fns/test_selection.py?rev=3881&r1=3880&r2=3881&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_generic_fns/test_selection.py (original)
+++ 1.3/test_suite/unit_tests/_generic_fns/test_selection.py Sat Nov 24 
12:34:21 2007
@@ -122,6 +122,9 @@
         # Reset.
         relax_data_store.__reset__()
 
+        # Add a data pipe to the data store.
+        relax_data_store.add(pipe_name='orig', pipe_type='mf')
+
         # Loop over the molecules.
         i = 0
         for molecule in selection.molecule_loop():
@@ -548,6 +551,9 @@
         # Reset.
         relax_data_store.__reset__()
 
+        # Add a data pipe to the data store.
+        relax_data_store.add(pipe_name='orig', pipe_type='mf')
+
         # Loop over the spins.
         i = 0
         for spin in selection.spin_loop():




Related Messages


Powered by MHonArc, Updated Sat Nov 24 12:40:09 2007