mailr11164 - /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 April 28, 2010 - 17:04:
Author: bugman
Date: Wed Apr 28 17:04:06 2010
New Revision: 11164

URL: http://svn.gna.org/viewcvs/relax?rev=11164&view=rev
Log:
Fix for the _update_model() method for handling missing RDC and PCS data.

The alignment tensor initialisation order was being mixed up!


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=11164&r1=11163&r2=11164&view=diff
==============================================================================
--- 1.3/specific_fns/n_state_model.py (original)
+++ 1.3/specific_fns/n_state_model.py Wed Apr 28 17:04:06 2010
@@ -1355,15 +1355,8 @@
         # Determine the data type.
         data_types = self._base_data_types()
 
-        # Set up alignment tensors for each alignment.
-        ids = []
-        if 'rdc' in data_types:
-            ids = ids+cdp.rdc_ids
-        if 'pcs' in data_types:
-            ids = ids+cdp.pcs_ids
-
         # Set up tensors for each alignment.
-        for id in ids:
+        for id in cdp.align_ids:
             # No tensors initialised.
             if not hasattr(cdp, 'align_tensors'):
                 generic_fns.align_tensor.init(tensor=id, params=[0.0, 0.0, 
0.0, 0.0, 0.0])




Related Messages


Powered by MHonArc, Updated Wed Apr 28 18:00:02 2010