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.


_______________________________________________
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