Author: semor Date: Wed Oct 15 04:23:33 2008 New Revision: 7705 URL: http://svn.gna.org/viewcvs/relax?rev=7705&view=rev Log: Placed the setting of the 'H_dim' variable before the call to the intensity_xeasy() function. The 'H_dim' variable was undefined otherwise... This fix may break the handling of peak lists when the w1 and w2 dimensions are inverted. Can these peak lists exist in XEasy ? Modified: 1.3/generic_fns/intensity.py Modified: 1.3/generic_fns/intensity.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/intensity.py?rev=7705&r1=7704&r2=7705&view=diff ============================================================================== --- 1.3/generic_fns/intensity.py (original) +++ 1.3/generic_fns/intensity.py Wed Oct 15 04:23:33 2008 @@ -318,11 +318,11 @@ # Print out. print "XEasy formatted data file.\n" - # Set the intensity reading function. - intensity_fn = intensity_xeasy - # Set the default proton dimension. H_dim = 'w1' + + # Set the intensity reading function. + intensity_fn = intensity_xeasy(H_dim) # NMRView. elif format == 'nmrview':