mailr22797 - /trunk/pipe_control/plotting.py


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

Header


Content

Posted by edward on April 16, 2014 - 19:52:
Author: bugman
Date: Wed Apr 16 19:52:05 2014
New Revision: 22797

URL: http://svn.gna.org/viewcvs/relax?rev=22797&view=rev
Log:
Fix for bug #21924 (https://gna.org/bugs/?21924).

This is the failure to output 2D Grace plots for the R20, R20A, R20B, and 
R1rho0 relaxation
dispersion parameters.  A simple test for missing data fixed the problem.


Modified:
    trunk/pipe_control/plotting.py

Modified: trunk/pipe_control/plotting.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/plotting.py?rev=22797&r1=22796&r2=22797&view=diff
==============================================================================
--- trunk/pipe_control/plotting.py      (original)
+++ trunk/pipe_control/plotting.py      Wed Apr 16 19:52:05 2014
@@ -147,6 +147,10 @@
         else:
             val, err = fetch_1D_data(plot_data=plot_data, 
data_name=x_data_name, spin=spin, res_num=res_num)
 
+        # No data.
+        if val == None:
+            continue
+
         # The keys.
         if series_type == dict:
             keys = list(val.keys())




Related Messages


Powered by MHonArc, Updated Wed Apr 16 20:00:03 2014