Author: tlinnet
Date: Sat Jun 13 14:00:39 2015
New Revision: 27849

URL: http://svn.gna.org/viewcvs/relax?rev=27849&view=rev
Log:
Added unittest that shows the trickers the bug.

Test added in test_delete_spin_all, and can be accessed with: relax -u 
_pipe_control.test_spin.

Bug #23642 (https://gna.org/bugs/index.php?23642): When deleting all spins for 
a residue, an empty placeholder is where select=True

Modified:
    trunk/test_suite/unit_tests/spin_testing_base.py

Modified: trunk/test_suite/unit_tests/spin_testing_base.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/spin_testing_base.py?rev=27849&r1=27848&r2=27849&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/spin_testing_base.py    (original)
+++ trunk/test_suite/unit_tests/spin_testing_base.py    Sat Jun 13 14:00:39 2015
@@ -475,6 +475,7 @@
         # Test that the first spin defaults back to the empty spin.
         self.assertEqual(dp.mol[0].res[0].spin[0].num, None)
         self.assertEqual(dp.mol[0].res[0].spin[0].name, None)
+        self.assertEqual(dp.mol[0].res[0].spin[0].select, False)
 
 
     def test_delete_spin_shift(self):


_______________________________________________
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

Reply via email to