mailr18144 - /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 December 17, 2012 - 10:28:
Author: bugman
Date: Mon Dec 17 10:28:27 2012
New Revision: 18144

URL: http://svn.gna.org/viewcvs/relax?rev=18144&view=rev
Log:
Created RelaxInteratomInconsistentError for when the data is inconsistent 
between two data pipes.


Modified:
    trunk/relax_errors.py

Modified: trunk/relax_errors.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/relax_errors.py?rev=18144&r1=18143&r2=18144&view=diff
==============================================================================
--- trunk/relax_errors.py (original)
+++ trunk/relax_errors.py Mon Dec 17 10:28:27 2012
@@ -715,6 +715,11 @@
         else:
             self.text = "The interatomic data for the data pipe " + 
repr(pipe) + " already exists."
 
+# Inconsistency in the interatomic data.
+class RelaxInteratomInconsistentError(BaseError):
+    def __init__(self, pipe1, pipe2):
+        self.text = "The interatomic data is inconsistent between the data 
pipes '%s' and '%s'." % (pipe1, pipe2)
+
 
 
 # Spectral data errors.




Related Messages


Powered by MHonArc, Updated Mon Dec 17 10:40:02 2012