Author: bugman
Date: Fri Feb  6 15:17:51 2015
New Revision: 27602

URL: http://svn.gna.org/viewcvs/relax?rev=27602&view=rev
Log:
Fix for the backend of the relax_disp.plot_disp_curves user function.

The lib.plotting.api functions write_xy_data() and write_xy_header() require 
the format argument.


Modified:
    trunk/specific_analyses/relax_disp/data.py

Modified: trunk/specific_analyses/relax_disp/data.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/data.py?rev=27602&r1=27601&r2=27602&view=diff
==============================================================================
--- trunk/specific_analyses/relax_disp/data.py  (original)
+++ trunk/specific_analyses/relax_disp/data.py  Fri Feb  6 15:17:51 2015
@@ -2236,13 +2236,13 @@
     sets = []
     for gi in range(graph_num):
         sets.append(len(data[gi]))
-    write_xy_header(file=file, graph_num=graph_num, sets=sets, 
set_names=[set_labels]*graph_num, axis_labels=[axis_labels]*graph_num, 
norm=[norm]*graph_num)
+    write_xy_header(format='grace', file=file, graph_num=graph_num, sets=sets, 
set_names=[set_labels]*graph_num, axis_labels=[axis_labels]*graph_num, 
norm=[norm]*graph_num)
 
     # Write the data.
     graph_type = 'xy'
     if err:
         graph_type = 'xydy'
-    write_xy_data(data, file=file, graph_type=graph_type, 
norm=[norm]*graph_num)
+    write_xy_data(format='grace', data=data, file=file, graph_type=graph_type, 
norm=[norm]*graph_num)
 
     # Close the file.
     file.close()


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

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