mailr21345 - /branches/relax_disp/specific_analyses/relax_disp/optimisation.py


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

Header


Content

Posted by edward on October 31, 2013 - 08:41:
Author: bugman
Date: Thu Oct 31 08:41:35 2013
New Revision: 21345

URL: http://svn.gna.org/viewcvs/relax?rev=21345&view=rev
Log:
Fix for a bug introduced at r21343.


Modified:
    branches/relax_disp/specific_analyses/relax_disp/optimisation.py

Modified: branches/relax_disp/specific_analyses/relax_disp/optimisation.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp/optimisation.py?rev=21345&r1=21344&r2=21345&view=diff
==============================================================================
--- branches/relax_disp/specific_analyses/relax_disp/optimisation.py 
(original)
+++ branches/relax_disp/specific_analyses/relax_disp/optimisation.py Thu Oct 
31 08:41:35 2013
@@ -313,7 +313,7 @@
         self.relax_times = None
         if hasattr(cdp, 'relax_time_list'):
             self.relax_times = cdp.relax_time_list[0]
-        if self.relax_times == None and model in MODEL_LIST_CPMG_NUM:
+        if self.relax_times == None and spins[0].model in 
MODEL_LIST_CPMG_NUM:
             raise RelaxError("The spectrometer frequency information has not 
been specified.")
 
 




Related Messages


Powered by MHonArc, Updated Thu Oct 31 09:20:01 2013