mailr8788 - /1.3/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 February 12, 2009 - 09:57:
Author: bugman
Date: Thu Feb 12 09:57:11 2009
New Revision: 8788

URL: http://svn.gna.org/viewcvs/relax?rev=8788&view=rev
Log:
Constraints are turned off for the 'fixed' model!


Modified:
    1.3/specific_fns/n_state_model.py

Modified: 1.3/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/n_state_model.py?rev=8788&r1=8787&r2=8788&view=diff
==============================================================================
--- 1.3/specific_fns/n_state_model.py (original)
+++ 1.3/specific_fns/n_state_model.py Thu Feb 12 09:57:11 2009
@@ -1246,6 +1246,11 @@
             if not hasattr(cdp, 'ref_domain'):
                 raise RelaxError, "The reference domain has not been set."
 
+        # Right, constraints cannot be used for the 'fixed' model.
+        if constraints and cdp.model == 'fixed':
+            warn(RelaxWarning("Turning constraints off.  These cannot be 
used for the 'fixed' model."))
+            constraints = False
+
         # Update the model parameters if necessary.
         self.__update_model()
 




Related Messages


Powered by MHonArc, Updated Thu Feb 12 10:20:04 2009