mailr11294 - /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 July 08, 2010 - 13:03:
Author: bugman
Date: Thu Jul  8 13:03:13 2010
New Revision: 11294

URL: http://svn.gna.org/viewcvs/relax?rev=11294&view=rev
Log:
Fix for the N-state model _assemble_scaling_matrix() method for the 2-domain 
model.

This is a recently introduced bug.  For the 2-domain model, no alignment 
parameters are optimised.


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=11294&r1=11293&r2=11294&view=diff
==============================================================================
--- 1.3/specific_fns/n_state_model.py (original)
+++ 1.3/specific_fns/n_state_model.py Thu Jul  8 13:03:13 2010
@@ -176,9 +176,9 @@
         if ('rdc' in data_types or 'pcs' in data_types) and not 
(hasattr(cdp.align_tensors, 'fixed') and cdp.align_tensors.fixed):
             pop_start = pop_start + 5*len(cdp.align_ids)
 
-        # The alignment parameters.
-        for i in range(5*len(cdp.align_ids)):
-            scaling_matrix[i, i] = 1e-4
+            # The alignment parameters.
+            for i in range(5*len(cdp.align_ids)):
+                scaling_matrix[i, i] = 1e-4
 
         # Loop over the populations, and set the scaling factor.
         if cdp.model in ['2-domain', 'population']:




Related Messages


Powered by MHonArc, Updated Thu Jul 08 14:00:02 2010