mailr4641 - /branches/N_state_model/specific_fns/n_state_model.py


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

Header


Content

Posted by edward on January 11, 2008 - 11:54:
Author: bugman
Date: Fri Jan 11 11:54:33 2008
New Revision: 4641

URL: http://svn.gna.org/viewcvs/relax?rev=4641&view=rev
Log:
Sent the text 'N-state' into the RelaxNoModelError error.


Modified:
    branches/N_state_model/specific_fns/n_state_model.py

Modified: branches/N_state_model/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/specific_fns/n_state_model.py?rev=4641&r1=4640&r2=4641&view=diff
==============================================================================
--- branches/N_state_model/specific_fns/n_state_model.py (original)
+++ branches/N_state_model/specific_fns/n_state_model.py Fri Jan 11 11:54:33 
2008
@@ -188,7 +188,7 @@
 
         # Test if the N-state model has been set up.
         if not hasattr(cdp, 'params'):
-            raise RelaxNoModelError
+            raise RelaxNoModelError, 'N-state'
 
         # Create the initial parameter vector.
         param_vector = self.assemble_param_vector(sim_index=sim_index)




Related Messages


Powered by MHonArc, Updated Fri Jan 11 12:00:25 2008