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