mailr17974 - /trunk/relax_errors.py


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

Header


Content

Posted by edward on November 14, 2012 - 18:04:
Author: bugman
Date: Wed Nov 14 18:04:50 2012
New Revision: 17974

URL: http://svn.gna.org/viewcvs/relax?rev=17974&view=rev
Log:
Created the RelaxAlignError error class for use by the rdc.copy and pcs.copy 
user functions.


Modified:
    trunk/relax_errors.py

Modified: trunk/relax_errors.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/relax_errors.py?rev=17974&r1=17973&r2=17974&view=diff
==============================================================================
--- trunk/relax_errors.py (original)
+++ trunk/relax_errors.py Wed Nov 14 18:04:50 2012
@@ -750,6 +750,11 @@
     def __init__(self, align_id, pipe):
         self.text = "The alignment ID string '%s' is missing from the data 
pipe '%s'." % align_id
 
+# Alignment data already exists.
+class RelaxAlignError(BaseError):
+    def __init__(self, align_id):
+        self.text = "Alignment data corresponding to the ID string '%s' 
already exists." % align_id
+
 # No RDC data.
 class RelaxNoRDCError(BaseError):
     def __init__(self, id):




Related Messages


Powered by MHonArc, Updated Wed Nov 14 18:20:01 2012