mailr27566 - /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 - 19:10:
Author: bugman
Date: Thu Feb  5 19:10:44 2015
New Revision: 27566

URL: http://svn.gna.org/viewcvs/relax?rev=27566&view=rev
Log:
More fixes for the PCS count printout from the 
pipe_control.pcs.return_pcs_data() function.

The check for None values was incorrect.


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=27566&r1=27565&r2=27566&view=diff
==============================================================================
--- trunk/pipe_control/pcs.py   (original)
+++ trunk/pipe_control/pcs.py   Thu Feb  5 19:10:44 2015
@@ -880,7 +880,7 @@
                     pcs[-1].append(spin.pcs[align_id])
 
                 # Increment the PCS count.
-                if pcs[-1] != None:
+                if pcs[-1][-1] != None:
                     j += 1
 
             # No data.




Related Messages


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