Author: bugman Date: Tue Feb 1 16:42:33 2011 New Revision: 12487 URL: http://svn.gna.org/viewcvs/relax?rev=12487&view=rev Log: The relaxation frequency label is now rounded to the nearest factor of 10. Modified: branches/bmrb/generic_fns/relax_data.py Modified: branches/bmrb/generic_fns/relax_data.py URL: http://svn.gna.org/viewcvs/relax/branches/bmrb/generic_fns/relax_data.py?rev=12487&r1=12486&r2=12487&view=diff ============================================================================== --- branches/bmrb/generic_fns/relax_data.py (original) +++ branches/bmrb/generic_fns/relax_data.py Tue Feb 1 16:42:33 2011 @@ -245,7 +245,9 @@ # Create the labels. ri_label = data['data_type'] frq = float(data['frq']) * 1e6 - frq_label = str(int(round(float(data['frq'])))) + + # Round the label to the nearest factor of 10. + frq_label = str(int(round(float(data['frq'])/10)*10)) # Pack the data. pack_data(ri_label, frq_label, frq, data['data'], data['errors'], res_nums=data['res_nums'], res_names=data['res_names'], spin_nums=None, spin_names=data['atom_names'], gen_seq=True)