Author: bugman
Date: Mon Mar 2 17:16:44 2015
New Revision: 27726
URL: http://svn.gna.org/viewcvs/relax?rev=27726&view=rev
Log:
Simplification of the new Rdc.test_rdc_copy_different_spins system test.
This no longer tests the deletion of interatomic data containers by the
spin.delete user function,
something which is not implemented.
Modified:
trunk/test_suite/system_tests/rdc.py
Modified: trunk/test_suite/system_tests/rdc.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/rdc.py?rev=27726&r1=27725&r2=27726&view=diff
==============================================================================
--- trunk/test_suite/system_tests/rdc.py (original)
+++ trunk/test_suite/system_tests/rdc.py Mon Mar 2 17:16:44 2015
@@ -84,19 +84,20 @@
# Set up two data identical pipes.
pipes = ['orig', 'new']
- delete = [':6', ':11']
+ delete = [':6@N', ':11@N']
for i in range(2):
# Create a data pipe.
self.interpreter.pipe.create(pipes[i], 'N-state')
# Load the spins.
self.interpreter.sequence.read(file='tb.txt', dir=dir,
spin_id_col=1)
+
+ # Delete the spin.
+ self.interpreter.spin.delete(spin_id=delete[i])
+
+ # Attach protons.
self.interpreter.sequence.attach_protons()
self.interpreter.sequence.display()
-
- # Delete the N and H spins.
- self.interpreter.spin.delete(spin_id='%s@N'%delete[i])
- self.interpreter.spin.delete(spin_id='%s@H'%delete[i])
# Load the RDCs into the first data pipe.
self.interpreter.pipe.switch('orig')
_______________________________________________
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