mailr24701 - /branches/zooming_grid_search/specific_analyses/parameter_object.py


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

Header


Content

Posted by edward on July 24, 2014 - 11:57:
Author: bugman
Date: Thu Jul 24 11:57:31 2014
New Revision: 24701

URL: http://svn.gna.org/viewcvs/relax?rev=24701&view=rev
Log:
Fix for a bug introduced at r24689 in the parameter object units() method.

The unit string was accidentally being set to the function or method.


Modified:
    branches/zooming_grid_search/specific_analyses/parameter_object.py

Modified: branches/zooming_grid_search/specific_analyses/parameter_object.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/zooming_grid_search/specific_analyses/parameter_object.py?rev=24701&r1=24700&r2=24701&view=diff
==============================================================================
--- branches/zooming_grid_search/specific_analyses/parameter_object.py  
(original)
+++ branches/zooming_grid_search/specific_analyses/parameter_object.py  Thu 
Jul 24 11:57:31 2014
@@ -1186,11 +1186,15 @@
             unit = self._units[name]()
 
         # The value.
-        unit = self._units[name]
+        else:
+            unit = self._units[name]
 
         # Convert None to an empty string.
         if unit == None:
             unit = ''
 
         # Return the units.
+        print self._units[name]
+        print type(self._units[name])
+        print unit
         return unit




Related Messages


Powered by MHonArc, Updated Thu Jul 24 13:20:02 2014