Hi, This is the problem I wrote about in my mail at http://thread.gmane.org/gmane.science.nmr.relax.devel/5107/focus=5114. There are actually 2 IDs as the reference has been measured in duplicate. Therefore there are two intensities for the {exp_type, frq, offset, point, time} metadata set. Therefore if return_intensity() were to function in a reasonable way, it should return the two peak intensity values. However as mentioned in that other mail, this function is no longer used anywhere in relax and could be deleted. Cheers, Edward On 27 February 2014 17:16, Troels Emtekær Linnet <tlinnet@xxxxxxxxxxxxx> wrote:
Hi Edward. return_intensity(XXX, ref=True) for reference intensity returns two ID's, which is True. Should this be expected? -------- Opening the file '/sbinlab2/tlinnet/software/NMR-relax/relax_trunk/test_suite/shared_data/dispersion/bug_21665.bz2' for reading. Traceback (most recent call last): File "/sbinlab2/tlinnet/software/NMR-relax/relax_trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py", line 696, in test_return_intensity_cpmg intensity_ref = return_intensity(spin=spin, exp_type=exp_type, frq=frq, offset=offset, point=point, time=time, ref=True) File "/sbinlab2/tlinnet/software/NMR-relax/relax_trunk/specific_analyses/relax_disp/disp_data.py", line 2661, in return_intensity keys = find_intensity_key(exp_type=exp_type, frq=frq, offset=offset, point=None, time=time) File "/sbinlab2/tlinnet/software/NMR-relax/relax_trunk/specific_analyses/relax_disp/disp_data.py", line 373, in find_intensity_key raise RelaxError("The number of returned IDs should not be larger than 1. Returned number is: %i."%(len(ids))) RelaxError: RelaxError: The number of returned IDs should not be larger than 1. Returned number is: 2. ----------- _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list relax-devel@xxxxxxx 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-devel