Hi Ed,

That is something I really didn't know... I thought that arguments order was without importance...

Ok, I'll check if I've done this (ordering alphabetically) elsewhere.

Cheers !


Séb


Edward d'Auvergne wrote:
On Sat, Apr 12, 2008 at 2:02 AM,  <[EMAIL PROTECTED]> wrote:
Author: semor
 Date: Sat Apr 12 02:02:23 2008
 New Revision: 5595

 URL: http://svn.gna.org/viewcvs/relax?rev=5595&view=rev
 Log:
 Added a missing argument to the set_error() method.

 This omission was spotted by Edward d'Auvergne in a post at:
 https://mail.gna.org/public/relax-devel/2008-04/msg00053.html (# Message-id:
 <[EMAIL PROTECTED]>)


 Modified:
    1.3/specific_fns/jw_mapping.py

 Modified: 1.3/specific_fns/jw_mapping.py
 URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/jw_mapping.py?rev=5595&r1=5594&r2=5595&view=diff
 ==============================================================================
 --- 1.3/specific_fns/jw_mapping.py (original)
 +++ 1.3/specific_fns/jw_mapping.py Sat Apr 12 02:02:23 2008
 @@ -402,7 +402,7 @@
         cdp.jw_frq = frq


 -    def set_error(self, spin, error):
 +    def set_error(self, error, index, spin):

Here the function args should be

def set_error(self, spin, index, error)

This is very important as that is the order that the argments are sent
the function.

Regards,

Edward

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

This is the relax-devel mailing list
[email protected]

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

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

This is the relax-devel mailing list
[email protected]

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

Reply via email to