mailr12480 - /branches/bmrb/specific_fns/model_free/bmrb.py


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

Header


Content

Posted by edward on February 01, 2011 - 10:53:
Author: bugman
Date: Tue Feb  1 10:53:32 2011
New Revision: 12480

URL: http://svn.gna.org/viewcvs/relax?rev=12480&view=rev
Log:
Fixed the print out of a RelaxError and Warning for the model-free model from 
the BMRB file.


Modified:
    branches/bmrb/specific_fns/model_free/bmrb.py

Modified: branches/bmrb/specific_fns/model_free/bmrb.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bmrb/specific_fns/model_free/bmrb.py?rev=12480&r1=12479&r2=12480&view=diff
==============================================================================
--- branches/bmrb/specific_fns/model_free/bmrb.py (original)
+++ branches/bmrb/specific_fns/model_free/bmrb.py Tue Feb  1 10:53:32 2011
@@ -94,9 +94,9 @@
 
         # Should not be here!
         if model_name:
-            raise RelaxError("The model-free model '%s' is unknown.")
+            raise RelaxError("The model-free model '%s' is unknown." % 
model_name)
         else:
-            warn(RelaxWarning("The BMRB model-free model name '%s' is 
unknown."))
+            warn(RelaxWarning("The BMRB model-free model name '%s' is 
unknown." % model_name))
 
 
     def _sf_model_free_read(self, star):




Related Messages


Powered by MHonArc, Updated Tue Feb 01 11:20:02 2011