mailr8781 - /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 11, 2009 - 16:54:
Author: bugman
Date: Wed Feb 11 16:54:43 2009
New Revision: 8781

URL: http://svn.gna.org/viewcvs/relax?rev=8781&view=rev
Log:
Caught the missing paramagnetic centre.


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=8781&r1=8780&r2=8781&view=diff
==============================================================================
--- 1.3/specific_fns/n_state_model.py (original)
+++ 1.3/specific_fns/n_state_model.py Wed Feb 11 16:54:43 2009
@@ -455,6 +455,10 @@
 
         # Alias the current data pipe.
         cdp = pipes.get_pipe()
+
+        # Data setup tests.
+        if not hasattr(cdp, 'paramagnetic_centre'):
+            raise RelaxError, "The paramagnetic centre has not yet been 
specified."
 
         # Initialise.
         pcs = []




Related Messages


Powered by MHonArc, Updated Wed Feb 11 17:20:03 2009