mailr8626 - /branches/multi_structure/test_suite/system_tests/structure.py


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

Header


Content

Posted by edward on January 22, 2009 - 18:56:
Author: bugman
Date: Thu Jan 22 18:56:18 2009
New Revision: 8626

URL: http://svn.gna.org/viewcvs/relax?rev=8626&view=rev
Log:
Fix for the test_load_scientific_results() system test.

The res_name was coming out as a tuple, so now it is unpacked.


Modified:
    branches/multi_structure/test_suite/system_tests/structure.py

Modified: branches/multi_structure/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/test_suite/system_tests/structure.py?rev=8626&r1=8625&r2=8626&view=diff
==============================================================================
--- branches/multi_structure/test_suite/system_tests/structure.py (original)
+++ branches/multi_structure/test_suite/system_tests/structure.py Thu Jan 22 
18:56:18 2009
@@ -138,6 +138,8 @@
         # Loop over the residues.
         i = 0
         for res_name in cdp.structure.atom_loop(atom_id='@N', 
res_name_flag=True):
+            res_name = res_name[0]
+
             # Check the residue data.
             self.assertEqual(res_name, res_list[i])
 




Related Messages


Powered by MHonArc, Updated Fri Jan 23 11:40:02 2009