mailr13245 - /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 27, 2011 - 18:51:
Author: han87
Date: Mon Jun 27 18:51:42 2011
New Revision: 13245

URL: http://svn.gna.org/viewcvs/relax?rev=13245&view=rev
Log:
Adding code for extracting the vector in the system test 
test_read_xyz_internal2() 

Code for extracting a vector of two given atoms was added in the system test 
test_read_xyz_internal2().

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=13245&r1=13244&r2=13245&view=diff
==============================================================================
--- branches/xyz/test_suite/system_tests/structure.py (original)
+++ branches/xyz/test_suite/system_tests/structure.py Mon Jun 27 18:51:42 2011
@@ -685,3 +685,7 @@
         # And now all the rest of the atoms.
         self.interpreter.structure.load_spins()
 
+        # Extract a vector between first two spins.
+        
self.interpreter.structure.vectors_xyz(spin_id1='#SSS-cluster4-new-test_mol1@1',
 spin_id2='#SSS-cluster4-new-test_mol1@2')
+        print((cdp.mol[0].res[0].spin[0]))
+        self.assert_(hasattr(cdp.mol[0].res[0].spin[0], 'bond_vect'))




Related Messages


Powered by MHonArc, Updated Mon Jun 27 19:00:02 2011