mailr9599 - /1.3/relax_io.py


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

Header


Content

Posted by edward on October 06, 2009 - 18:42:
Author: bugman
Date: Tue Oct  6 18:42:51 2009
New Revision: 9599

URL: http://svn.gna.org/viewcvs/relax?rev=9599&view=rev
Log:
Removed the test for error values of zero, as this was killing Dasha!


Modified:
    1.3/relax_io.py

Modified: 1.3/relax_io.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax_io.py?rev=9599&r1=9598&r2=9599&view=diff
==============================================================================
--- 1.3/relax_io.py (original)
+++ 1.3/relax_io.py Tue Oct  6 18:42:51 2009
@@ -578,15 +578,11 @@
 
         # Convert the data.
         value = None
-        if data_col != None:
+        if data_col:
             value = eval(line[data_col-1])
         error = None
-        if error_col != None:
+        if error_col:
             error = eval(line[error_col-1])
-
-        # Test the error value (cannot be 0.0).
-        if error == 0.0:
-            raise RelaxError("An invalid error value of zero has been 
encountered.")
 
         # Yield the data.
         if data_col and error_col:




Related Messages


Powered by MHonArc, Updated Tue Oct 06 19:00:02 2009