mailr26382 - /trunk/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 October 23, 2014 - 14:55:
Author: bugman
Date: Thu Oct 23 14:55:09 2014
New Revision: 26382

URL: http://svn.gna.org/viewcvs/relax?rev=26382&view=rev
Log:
Small modification of the Structure.test_bug_22861_PDB_writing_chainID_fail 
system test.

File metadata is now being set to demonstrate that the structure.delete user 
function does not
remove this once there is no more data left for the molecule.


Modified:
    trunk/test_suite/system_tests/structure.py

Modified: trunk/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/structure.py?rev=26382&r1=26381&r2=26382&view=diff
==============================================================================
--- trunk/test_suite/system_tests/structure.py  (original)
+++ trunk/test_suite/system_tests/structure.py  Thu Oct 23 14:55:09 2014
@@ -385,6 +385,10 @@
         # Add one atom to two different molecules.
         self.interpreter.structure.add_atom(mol_name='A', atom_name='N', 
res_name='Phe', res_num=1, pos=[1.0, 1.0, 1.0], element='N')
         self.interpreter.structure.add_atom(mol_name='B', atom_name='N', 
res_name='Phe', res_num=1, pos=[1.0, 1.0, 1.0], element='N')
+
+        # Add some metadata to demonstrate a problem with the 
structure.delete user function.
+        cdp.structure.structural_data[0].mol[0].file_name = 'test.pdb'
+        cdp.structure.structural_data[0].mol[1].file_name = 'test2.pdb'
 
         # Delete the first molecule.
         self.interpreter.structure.delete('#A')




Related Messages


Powered by MHonArc, Updated Thu Oct 23 15:00:03 2014