mailr8737 - /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 05, 2009 - 10:22:
Author: bugman
Date: Thu Feb  5 10:22:02 2009
New Revision: 8737

URL: http://svn.gna.org/viewcvs/relax?rev=8737&view=rev
Log:
Added a check for the molecule name.


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=8737&r1=8736&r2=8737&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/structure.py (original)
+++ 1.3/test_suite/system_tests/structure.py Thu Feb  5 10:22:02 2009
@@ -158,6 +158,12 @@
         # Read the PDB.
         
self.relax.interpreter._Structure.read_pdb(file='1F35_N_H_molmol.pdb', 
dir=path, parser='internal')
 
+        # Alias the current data pipe.
+        cdp = pipes.get_pipe()
+
+        # Test the molecule name.
+        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.assertEqual(count_spins(), 1)




Related Messages


Powered by MHonArc, Updated Thu Feb 05 10:40:03 2009