Author: bugman
Date: Thu Nov 22 12:21:41 2007
New Revision: 3816

URL: http://svn.gna.org/viewcvs/relax?rev=3816&view=rev
Log:
Added a new RelaxError for invalid sequence data.


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=3816&r1=3815&r2=3816&view=diff
==============================================================================
--- 1.3/relax_errors.py (original)
+++ 1.3/relax_errors.py Thu Nov 22 12:21:41 2007
@@ -425,6 +425,14 @@
         if Debug:
             self.save_state()
 
+# The sequence data is not valid.
+class RelaxInvalidSeqError(BaseError):
+    def __init__(self):
+        self.text = "The line " + `line` + " of the sequence data is invalid."
+        if Debug:
+            self.save_state()
+
+
 
 # Relaxation data errors.
 #########################


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to