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')
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits