Author: bugman Date: Tue Mar 19 17:26:00 2013 New Revision: 18894 URL: http://svn.gna.org/viewcvs/relax?rev=18894&view=rev Log: Fix for some unit tests of the Scientific_data.atom_loop() method. This is for the recent changes to the structural API atom_loop() method. Modified: trunk/test_suite/unit_tests/_generic_fns/_structure/test_scientific.py Modified: trunk/test_suite/unit_tests/_generic_fns/_structure/test_scientific.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_generic_fns/_structure/test_scientific.py?rev=18894&r1=18893&r2=18894&view=diff ============================================================================== --- trunk/test_suite/unit_tests/_generic_fns/_structure/test_scientific.py (original) +++ trunk/test_suite/unit_tests/_generic_fns/_structure/test_scientific.py Tue Mar 19 17:26:00 2013 @@ -197,7 +197,7 @@ atom_count = 0 for atom in self.data.atom_loop(atom_id=':PRO', res_name_flag=True): # Test the residue name. - self.assertEqual(atom[0], 'PRO') + self.assertEqual(atom, 'PRO') # Increment the atom count. atom_count = atom_count + 1 @@ -216,7 +216,7 @@ atom_count = 0 for spin_name in self.data.atom_loop(atom_id='@CA', atom_name_flag=True): # Test the spin name. - self.assertEqual(spin_name[0], 'CA') + self.assertEqual(spin_name, 'CA') # Increment the atom count. atom_count = atom_count + 1