mailr8832 - /1.3/generic_fns/value.py


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

Header


Content

Posted by edward on February 19, 2009 - 10:41:
Author: bugman
Date: Thu Feb 19 10:41:03 2009
New Revision: 8832

URL: http://svn.gna.org/viewcvs/relax?rev=8832&view=rev
Log:
A few fixes for the new relax design.


Modified:
    1.3/generic_fns/value.py

Modified: 1.3/generic_fns/value.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/value.py?rev=8832&r1=8831&r2=8832&view=diff
==============================================================================
--- 1.3/generic_fns/value.py (original)
+++ 1.3/generic_fns/value.py Thu Feb 19 10:41:03 2009
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2003-2008 Edward d'Auvergne                                  
 #
+# Copyright (C) 2003-2009 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -93,7 +93,7 @@
 
 
 def display(param=None):
-    """Function for displaying residue specific data values.
+    """Display spin specific data values.
 
     @param param:       The name of the parameter to display.
     @type param:        str
@@ -438,7 +438,7 @@
 
 
 def set_spin_params(value=None, error=None, param=None, scaling=1.0, 
spin=None):
-    """Function for setting spin specific parameter values.
+    """Set spin specific parameter values.
 
     @param value:   The value to change the parameter to.
     @type value:    float or str
@@ -467,7 +467,7 @@
         if value:
             # Test if the length of the value array is equal to the length 
of the parameter array.
             if len(value) != len(spin.params):
-                raise RelaxError, "The length of " + `len(value)` + " of the 
value array must be equal to the length of the parameter array, " + 
`spin.params` + ", for residue " + `spin.num` + " " + spin.name + "."
+                raise RelaxError, "The length of " + `len(value)` + " of the 
value array must be equal to the length of the parameter array, " + 
`spin.params` + ", for spin " + `spin.num` + " " + spin.name + "."
 
         # Default values.
         else:




Related Messages


Powered by MHonArc, Updated Sat Feb 21 19:40:05 2009