mailr5494 - /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 April 09, 2008 - 13:56:
Author: bugman
Date: Wed Apr  9 13:56:11 2008
New Revision: 5494

URL: http://svn.gna.org/viewcvs/relax?rev=5494&view=rev
Log:
Bug fix in the setUp() method, the first molecule should be named before 
adding a second!


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=5494&r1=5493&r2=5494&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 Wed Apr  9 
13:56:11 2008
@@ -41,11 +41,11 @@
         # Alias the current data pipe.
         cdp = relax_data_store[relax_data_store.current_pipe]
 
+        # Name the first molecule.
+        cdp.mol[0].name = 'Ap4Aase'
+
         # Add a second molecule to the system.
         cdp.mol.add_item(mol_name='RNA')
-
-        # Rename the first molecule.
-        cdp.mol[0].name = 'Ap4Aase'
 
         # Add two more residues to the first molecule (and set the residue 
number of the first).
         cdp.mol[0].res[0].num = 1




Related Messages


Powered by MHonArc, Updated Wed Apr 09 14:20:16 2008