mailr13162 - /branches/xyz/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 hasu on June 22, 2011 - 16:11:
Author: han87
Date: Wed Jun 22 16:11:25 2011
New Revision: 13162

URL: http://svn.gna.org/viewcvs/relax?rev=13162&view=rev
Log:
Debugging in the system_test test_read_xyz_internal2().

In the function to load a single spin, the sign for recognizing the molecule 
"#" was added and the second atom was loaded instead of loading all C atoms.

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

Modified: branches/xyz/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/xyz/test_suite/system_tests/structure.py?rev=13162&r1=13161&r2=13162&view=diff
==============================================================================
--- branches/xyz/test_suite/system_tests/structure.py (original)
+++ branches/xyz/test_suite/system_tests/structure.py Wed Jun 22 16:11:25 2011
@@ -662,7 +662,7 @@
         self.assertEqual(cdp.structure.structural_data[0].mol[0].mol_name, 
'SSS-cluster4-new-test_mol1')
 
         # Load a single atom and test it.
-        
self.interpreter.structure.load_spins('SSS-cluster4-new-test_mol1:@C')
+        
self.interpreter.structure.load_spins('#SSS-cluster4-new-test_mol1:@2')
         self.assertEqual(count_spins(), 1)
 
         # Try loading a few protons.




Related Messages


Powered by MHonArc, Updated Wed Jun 22 16:20:02 2011