Author: bugman
Date: Tue Mar  3 15:59:41 2015
New Revision: 27751

URL: http://svn.gna.org/viewcvs/relax?rev=27751&view=rev
Log:
Modified the N_state_model.test_data_copying system test to skip deselected 
spins.


Modified:
    trunk/test_suite/system_tests/n_state_model.py

Modified: trunk/test_suite/system_tests/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/n_state_model.py?rev=27751&r1=27750&r2=27751&view=diff
==============================================================================
--- trunk/test_suite/system_tests/n_state_model.py      (original)
+++ trunk/test_suite/system_tests/n_state_model.py      Tue Mar  3 15:59:41 2015
@@ -536,6 +536,10 @@
             spin_orig = orig.mol[mol_index].res[res_index].spin[spin_index]
             spin_new = new.mol[mol_index].res[res_index].spin[spin_index]
 
+            # Skip deselected spins.
+            if not spin_orig.select:
+                continue
+
             # Loop over the alignments.
             for id in orig.align_ids:
                 # RDC checks.


_______________________________________________
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