mailr14740 - /1.3/relax_errors.py


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

Header


Content

Posted by edward on September 21, 2011 - 19:08:
Author: bugman
Date: Wed Sep 21 19:08:00 2011
New Revision: 14740

URL: http://svn.gna.org/viewcvs/relax?rev=14740&view=rev
Log:
Removed the brackets from the user function names in the RelaxError system.

This is because these make no sense in the GUI version of the user functions.


Modified:
    1.3/relax_errors.py

Modified: 1.3/relax_errors.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax_errors.py?rev=14740&r1=14739&r2=14740&view=diff
==============================================================================
--- 1.3/relax_errors.py (original)
+++ 1.3/relax_errors.py Wed Sep 21 19:08:00 2011
@@ -273,12 +273,12 @@
 # Spin type not set.
 class RelaxSpinTypeError(BaseError):
     def __init__(self):
-        self.text = "The spin type has not yet been set.  Please use the 
value.set() user function to set the heteronucleus type."
+        self.text = "The spin type has not yet been set.  Please use the 
value.set user function to set the heteronucleus type."
 
 # Proton type not set.
 class RelaxProtonTypeError(BaseError):
     def __init__(self):
-        self.text = "The type of proton attached to the spin has not yet 
been set.  Please use the value.set() user function to set the proton type."
+        self.text = "The type of proton attached to the spin has not yet 
been set.  Please use the value.set user function to set the proton type."
 
 
 # Argument errors.
@@ -581,7 +581,7 @@
 # The spins have not been loaded
 class RelaxSpinsNotLoadedError(BaseError):
     def __init__(self, spin_id):
-        self.text = "The spin information for the spin " + repr(spin_id) + " 
has not yet been loaded, please use the structure.load_spins() user function."
+        self.text = "The spin information for the spin " + repr(spin_id) + " 
has not yet been loaded, please use the structure.load_spins user function."
 
 
 
@@ -713,7 +713,7 @@
         if pipe != None:
             self.text = "The data pipe " + repr(pipe) + " has not been 
created yet."
         else:
-            self.text = "No data pipes currently exist.  Please use the 
pipe.create() user function first."
+            self.text = "No data pipes currently exist.  Please use the 
pipe.create user function first."
 
 
 # Spin-Residue-Molecule errors.




Related Messages


Powered by MHonArc, Updated Wed Sep 21 19:20:02 2011