28 Jun 2012 17:40
r17105 - /branches/interatomic/test_suite/system_tests/structure.py
Author: bugman Date: Thu Jun 28 17:40:48 2012 New Revision: 17105 URL: http://svn.gna.org/viewcvs/relax?rev=17105&view=rev Log: Fixes for 3 of the Structure system tests for the interatomic data design. Modified: branches/interatomic/test_suite/system_tests/structure.py Modified: branches/interatomic/test_suite/system_tests/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/interatomic/test_suite/system_tests/structure.py?rev=17105&r1=17104&r2=17105&view=diff ============================================================================== --- branches/interatomic/test_suite/system_tests/structure.py (original) +++ branches/interatomic/test_suite/system_tests/structure.py Thu Jun 28 17:40:48 2012 <at> <at> -271,9 +271,10 <at> <at> self.interpreter.structure.load_spins() # Extract a N-Ca vector. - self.interpreter.structure.vectors('CA', spin_id='#1F35_N_H_molmol_mol1:3 <at> N') - print((cdp.mol[0].res[0].spin[0])) - self.assert_(hasattr(cdp.mol[0].res[0].spin[0], 'bond_vect')) + self.interpreter.dipole_pair.define(spin_id1=' <at> CA', spin_id2='#1F35_N_H_molmol_mol1:3 <at> N') + self.interpreter.dipole_pair.unit_vectors() + print(cdp.interatomic[0]) + self.assert_(hasattr(cdp.interatomic[0], 'vector'))(Continue reading)
RSS Feed