Author: bugman Date: Tue Jun 11 17:34:07 2013 New Revision: 20040 URL: http://svn.gna.org/viewcvs/relax?rev=20040&view=rev Log: Fixes for the dispersion specific code needed because of the changes of r20037. The Grace graph code of lib.software.grace no longer accepts the axis min and max arguments. Modified: branches/relax_disp/specific_analyses/relax_disp/__init__.py Modified: branches/relax_disp/specific_analyses/relax_disp/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp/__init__.py?rev=20040&r1=20039&r2=20040&view=diff ============================================================================== --- branches/relax_disp/specific_analyses/relax_disp/__init__.py (original) +++ branches/relax_disp/specific_analyses/relax_disp/__init__.py Tue Jun 11 17:34:07 2013 @@ -651,7 +651,6 @@ # Initialise some data structures. data = [] set_labels = [] - axis_max = [0, 0] x_err_flag = False y_err_flag = False @@ -683,12 +682,6 @@ # Add the data. data[-1].append([disp_point, spin.r2eff[key]]) - # Extend the Grace world. - if disp_point > axis_max[0]: - axis_max[0] = disp_point - if spin.r2eff[key] > axis_max[1]: - axis_max[1] = spin.r2eff[key] - # Add the error. if hasattr(spin, 'r2eff_err') and key in spin.r2eff_err: err = True @@ -760,7 +753,7 @@ # Write the header. title = "Relaxation dispersion plot" - write_xy_header(file=file, title=title, sets=len(data), set_names=set_labels, axis_labels=axis_labels, axis_max=axis_max) + write_xy_header(file=file, title=title, sets=len(data), set_names=set_labels, axis_labels=axis_labels) # Write the data. graph_type = 'xy'