mailr24338 - /branches/disp_spin_speed/target_functions/relax_disp.py


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

Header


Content

Posted by tlinnet on June 27, 2014 - 12:58:
Author: tlinnet
Date: Fri Jun 27 12:58:26 2014
New Revision: 24338

URL: http://svn.gna.org/viewcvs/relax?rev=24338&view=rev
Log:
Added the missing "self.num_exp" to target function.

Testing on older system, this was failing the systemtest.
It is a wonder how these lines in __init__ could be performed without this?

self.end_index.append(self.num_exp * self.num_spins * self.num_frq)
if model in [MODEL_B14_FULL, MODEL_CR72_FULL, MODEL_NS_CPMG_2SITE_3D_FULL, 
MODEL_NS_CPMG_2SITE_STAR_FULL]:
    self.end_index.append(2 * self.num_exp * self.num_spins * self.num_frq)

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion 
models for Clustered analysis.

Modified:
    branches/disp_spin_speed/target_functions/relax_disp.py

Modified: branches/disp_spin_speed/target_functions/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/target_functions/relax_disp.py?rev=24338&r1=24337&r2=24338&view=diff
==============================================================================
--- branches/disp_spin_speed/target_functions/relax_disp.py     (original)
+++ branches/disp_spin_speed/target_functions/relax_disp.py     Fri Jun 27 
12:58:26 2014
@@ -181,7 +181,8 @@
         # Initialise higher order numpy structures.
         # Define the shape of all the numpy arrays.
         # The total numbers of experiments, number of spins, number of 
magnetic field strength, maximum number of offsets, maximum number of 
dispersion point.
-        self.NE = len(self.exp_types)
+        self.num_exp = len(self.exp_types)
+        self.NE = self.num_exp
         self.NS = self.num_spins
         self.NM = self.num_frq
 




Related Messages


Powered by MHonArc, Updated Fri Jun 27 13:00:03 2014