mailRe: r7706 - /1.3/generic_fns/intensity.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Sébastien Morin on October 15, 2008 - 14:32:
Hi,

Well...

It came from my previous commit (r7705)...

Ciao !


Séb


Edward d'Auvergne wrote:
I don't know where that obvious bug came from :S

Regards,

Edward


On Wed, Oct 15, 2008 at 4:30 AM,  <sebastien.morin.1@xxxxxxxxx> wrote:
  
Author: semor
Date: Wed Oct 15 04:30:55 2008
New Revision: 7706

URL: http://svn.gna.org/viewcvs/relax?rev=7706&view=rev
Log:
Set the default 'H_dim' variable in the intensity_xeasy() function.

Passing the variable to the intensity_xeasy() funciton the way it was done 
before could not have
worked...


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=7706&r1=7705&r2=7706&view=diff
==============================================================================
--- 1.3/generic_fns/intensity.py (original)
+++ 1.3/generic_fns/intensity.py Wed Oct 15 04:30:55 2008
@@ -121,7 +121,7 @@
    return res_num, h_name, x_name, intensity


-def intensity_xeasy(line, int_col=None):
+def intensity_xeasy(line, int_col=None, H_dim='w1'):
    """Function for returning relevant data from the XEasy peak intensity 
line.

    The residue number, heteronucleus and proton names, and peak intensity 
will be returned.
@@ -322,7 +322,7 @@
        H_dim = 'w1'

        # Set the intensity reading function.
-        intensity_fn = intensity_xeasy(H_dim)
+        intensity_fn = intensity_xeasy

    # NMRView.
    elif format == 'nmrview':


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

This is the relax-commits mailing list
relax-commits@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-commits

    

_______________________________________________
relax (http://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

  





Related Messages


Powered by MHonArc, Updated Wed Oct 15 16:00:26 2008