mailr21316 - in /branches/relax_disp/specific_analyses/relax_disp: api.py optimisation.py


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

Header


Content

Posted by edward on October 29, 2013 - 14:18:
Author: bugman
Date: Tue Oct 29 14:18:46 2013
New Revision: 21316

URL: http://svn.gna.org/viewcvs/relax?rev=21316&view=rev
Log:
Some small fixes to allow the optimisation of dispersion models when no peak 
intensity data has been read.

This is for when R2eff data has been read instead.


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

Modified: branches/relax_disp/specific_analyses/relax_disp/api.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp/api.py?rev=21316&r1=21315&r2=21316&view=diff
==============================================================================
--- branches/relax_disp/specific_analyses/relax_disp/api.py (original)
+++ branches/relax_disp/specific_analyses/relax_disp/api.py Tue Oct 29 
14:18:46 2013
@@ -994,7 +994,6 @@
 
         # Data checks.
         check_mol_res_spin_data()
-        check_spectra_id_setup()
         check_model_type()
 
         # Initialise some empty data pipe structures so that the target 
function set up does not fail.

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=21316&r1=21315&r2=21316&view=diff
==============================================================================
--- branches/relax_disp/specific_analyses/relax_disp/optimisation.py 
(original)
+++ branches/relax_disp/specific_analyses/relax_disp/optimisation.py Tue Oct 
29 14:18:46 2013
@@ -310,7 +310,9 @@
         self.spin_lock_nu1 = return_spin_lock_nu1(ref_flag=False)
 
         # The relaxation times.
-        self.relax_times = cdp.relax_time_list[0]
+        self.relax_times = None
+        if hasattr(cdp, 'relax_time_list'):
+            self.relax_times = cdp.relax_time_list[0]
 
 
     def run(self, processor, completed):




Related Messages


Powered by MHonArc, Updated Tue Oct 29 14:40:02 2013