mailr2436 - in /1.2/specific_fns: base_class.py jw_mapping.py


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

Header


Content

Posted by edward on April 03, 2006 - 09:41:
Author: bugman
Date: Mon Apr  3 09:41:24 2006
New Revision: 2436

URL: http://svn.gna.org/viewcvs/relax?rev=2436&view=rev
Log:
Bug fix #5659.

The link to the bug report is 
https://gna.org/bugs/index.php?func=detailitem&item_id=5659.

The problem was that the speicfic 'set()' functions were creating the objects 
called '*_error'
rather than '*_err'.


Modified:
    1.2/specific_fns/base_class.py
    1.2/specific_fns/jw_mapping.py

Modified: 1.2/specific_fns/base_class.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/specific_fns/base_class.py?rev=2436&r1=2435&r2=2436&view=diff
==============================================================================
--- 1.2/specific_fns/base_class.py (original)
+++ 1.2/specific_fns/base_class.py Mon Apr  3 09:41:24 2006
@@ -155,7 +155,7 @@
 
             # Set the error.
             if error != None:
-                setattr(self.relax.data.res[self.run][index], 
object_name+'_error', float(error))
+                setattr(self.relax.data.res[self.run][index], 
object_name+'_err', float(error))
 
             # Update the other parameters if necessary.
             self.set_update(run=run, param=param, index=index)

Modified: 1.2/specific_fns/jw_mapping.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/specific_fns/jw_mapping.py?rev=2436&r1=2435&r2=2436&view=diff
==============================================================================
--- 1.2/specific_fns/jw_mapping.py (original)
+++ 1.2/specific_fns/jw_mapping.py Mon Apr  3 09:41:24 2006
@@ -426,7 +426,7 @@
 
             # Set the error.
             if error != None:
-                setattr(self.relax.data.res[self.run][index], 
object_name+'_error', float(error))
+                setattr(self.relax.data.res[self.run][index], 
object_name+'_err', float(error))
 
 
     def set_frq(self, run=None, frq=None):




Related Messages


Powered by MHonArc, Updated Tue Apr 04 08:40:05 2006