mailr11223 - in /1.3/generic_fns: pcs.py rdc.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 08, 2010 - 14:40:
Author: bugman
Date: Tue Jun  8 14:40:49 2010
New Revision: 11223

URL: http://svn.gna.org/viewcvs/relax?rev=11223&view=rev
Log:
The RDC and PCS correlation plots now do not show deselected spins.


Modified:
    1.3/generic_fns/pcs.py
    1.3/generic_fns/rdc.py

Modified: 1.3/generic_fns/pcs.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pcs.py?rev=11223&r1=11222&r2=11223&view=diff
==============================================================================
--- 1.3/generic_fns/pcs.py (original)
+++ 1.3/generic_fns/pcs.py Tue Jun  8 14:40:49 2010
@@ -167,6 +167,10 @@
 
         # Loop over the spins.
         for spin, spin_id in spin_loop(return_id=True):
+            # Skip deselected spins.
+            if not spin.select:
+                continue
+
             # Skip if data is missing.
             if not hasattr(spin, 'pcs') or not hasattr(spin, 'pcs_bc') or 
not align_id in spin.pcs.keys() or not align_id in spin.pcs_bc.keys():
                 continue

Modified: 1.3/generic_fns/rdc.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/rdc.py?rev=11223&r1=11222&r2=11223&view=diff
==============================================================================
--- 1.3/generic_fns/rdc.py (original)
+++ 1.3/generic_fns/rdc.py Tue Jun  8 14:40:49 2010
@@ -123,6 +123,10 @@
 
         # Loop over the spins.
         for spin, spin_id in spin_loop(return_id=True):
+            # Skip deselected spins.
+            if not spin.select:
+                continue
+
             # Skip if data is missing.
             if not hasattr(spin, 'rdc') or not hasattr(spin, 'rdc_bc') or 
not align_id in spin.rdc.keys() or not align_id in spin.rdc_bc.keys():
                 continue




Related Messages


Powered by MHonArc, Updated Wed Jun 09 10:00:02 2010