mailr14798 - /1.3/generic_fns/grace.py


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

Header


Content

Posted by edward on October 05, 2011 - 21:01:
Author: bugman
Date: Wed Oct  5 21:01:25 2011
New Revision: 14798

URL: http://svn.gna.org/viewcvs/relax?rev=14798&view=rev
Log:
Fix for the bug introduced in r14797 for the xydxdy Grace plots.

Two if statements are needed, not an if-elif block!


Modified:
    1.3/generic_fns/grace.py

Modified: 1.3/generic_fns/grace.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/grace.py?rev=14798&r1=14797&r2=14798&view=diff
==============================================================================
--- 1.3/generic_fns/grace.py (original)
+++ 1.3/generic_fns/grace.py Wed Oct  5 21:01:25 2011
@@ -275,7 +275,7 @@
                     new_data[i][j][k].append(data[i][j][k][2])
 
                 # Second error set.
-                elif graph_type in ['xydy', 'xydxdy']:
+                if graph_type in ['xydy', 'xydxdy']:
                     new_data[i][j][k].append(data[i][j][k][3])
 
     # Return the data.




Related Messages


Powered by MHonArc, Updated Wed Oct 05 21:40:02 2011