mailr8803 - /1.3/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 February 15, 2009 - 14:45:
Author: bugman
Date: Sun Feb 15 14:45:10 2009
New Revision: 8803

URL: http://svn.gna.org/viewcvs/relax?rev=8803&view=rev
Log:
Some fixes for the test_read_pdb_internal1() and test_read_pdb_scientific1() 
system tests.


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=8803&r1=8802&r2=8803&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/structure.py (original)
+++ 1.3/test_suite/system_tests/structure.py Sun Feb 15 14:45:10 2009
@@ -165,7 +165,7 @@
         self.assertEqual(cdp.structure.structural_data[0].mol[0].mol_name, 
'1F35_N_H_molmol_mol1')
 
         # Load a single atom and test it.
-        
self.relax.interpreter._Structure.load_spins('#1F35_N_H_molmol_mol1:10@N')
+        
self.relax.interpreter._Structure.load_spins('#1F35_N_H_molmol_mol1:3@N')
         self.assertEqual(count_spins(), 1)
 
         # Try loading a few protons.
@@ -175,7 +175,8 @@
         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.relax.interpreter._Structure.vectors('CA', 
spin_id='#1F35_N_H_molmol_mol1:3@N')
+        print cdp.mol[0].res[0].spin[0]
         self.assert_(hasattr(cdp.mol[0].res[0].spin[0], 'bond_vect'))
 
 
@@ -419,7 +420,7 @@
         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.relax.interpreter._Structure.vectors('CA', 
spin_id='#1F35_N_H_molmol_mol1:3@N')
         self.assert_(hasattr(cdp.mol[0].res[0].spin[0], 'bond_vect'))
 
 




Related Messages


Powered by MHonArc, Updated Sun Feb 15 15:00:04 2009