Author: bugman Date: Thu Feb 5 11:43:43 2009 New Revision: 8740 URL: http://svn.gna.org/viewcvs/relax?rev=8740&view=rev Log: Modified 2 system tests for the loading of N-Ca vectors. Modified: 1.3/test_suite/system_tests/structure.py Modified: 1.3/test_suite/system_tests/structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/structure.py?rev=8740&r1=8739&r2=8740&view=diff ============================================================================== --- 1.3/test_suite/system_tests/structure.py (original) +++ 1.3/test_suite/system_tests/structure.py Thu Feb 5 11:43:43 2009 @@ -174,6 +174,11 @@ # And now all the rest of the atoms. self.relax.interpreter._Structure.load_spins() + # Extract a N-Ca vector. + self.relax.interpreter._Structure.vectors('CA', spin_id='#1F35_N_H_molmol_mol1:10@N') + self.assert_(hasattr(cdp.mol[0].res[0].spin[0], 'bond_vect')) + + def test_read_pdb_internal2(self): """Load the 'Ap4Aase_res1-12.pdb' PDB file (using the internal structural object PDB reader).""" @@ -410,6 +415,10 @@ # And now all the rest of the atoms. self.relax.interpreter._Structure.load_spins() + # Extract a N-Ca vector. + self.relax.interpreter._Structure.vectors('CA', spin_id='#1F35_N_H_molmol_mol1:10@N') + self.assert_(hasattr(cdp.mol[0].res[0].spin[0], 'bond_vect')) + def test_read_pdb_scientific2(self): """Load the 'Ap4Aase_res1-12.pdb' PDB file (using the Scientific python structural object PDB reader)."""