mailr27563 - /trunk/pipe_control/pcs.py


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

Header


Content

Posted by edward on February 05, 2015 - 18:58:
Author: bugman
Date: Thu Feb  5 18:58:26 2015
New Revision: 27563

URL: http://svn.gna.org/viewcvs/relax?rev=27563&view=rev
Log:
Fixes for the printout from the pipe_control.pcs.return_pcs_data() function.

The number of PCSs printed out was including values of None when data was 
missing for one alignment.
These values of None are no longer counted.


Modified:
    trunk/pipe_control/pcs.py

Modified: trunk/pipe_control/pcs.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/pcs.py?rev=27563&r1=27562&r2=27563&view=diff
==============================================================================
--- trunk/pipe_control/pcs.py   (original)
+++ trunk/pipe_control/pcs.py   Thu Feb  5 18:58:26 2015
@@ -878,6 +878,11 @@
                     pcs[-1].append(spin.pcs_sim[align_id][sim_index])
                 else:
                     pcs[-1].append(spin.pcs[align_id])
+
+                # Increment the PCS count.
+                j += 1
+
+            # No data.
             else:
                 pcs[-1].append(None)
 
@@ -892,9 +897,6 @@
                 pcs_weight[-1].append(spin.pcs_weight[align_id])
             else:
                 pcs_weight[-1].append(1.0)
-
-            # Spin index.
-            j = j + 1
 
         # ID and PCS count printout.
         if verbosity:




Related Messages


Powered by MHonArc, Updated Thu Feb 05 19:00:02 2015