mailr15138 - /branches/frame_order_testing/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 January 04, 2012 - 10:36:
Author: bugman
Date: Wed Jan  4 10:36:44 2012
New Revision: 15138

URL: http://svn.gna.org/viewcvs/relax?rev=15138&view=rev
Log:
Fix for the n_state_model.select_model user function for the set up of 
alignment tensors.

The align_id should be set rather than tensor name!


Modified:
    branches/frame_order_testing/specific_fns/n_state_model.py

Modified: branches/frame_order_testing/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/specific_fns/n_state_model.py?rev=15138&r1=15137&r2=15138&view=diff
==============================================================================
--- branches/frame_order_testing/specific_fns/n_state_model.py (original)
+++ branches/frame_order_testing/specific_fns/n_state_model.py Wed Jan  4 
10:36:44 2012
@@ -1627,7 +1627,7 @@
             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])
+                    generic_fns.align_tensor.init(align_id=id, params=[0.0, 
0.0, 0.0, 0.0, 0.0])
 
                 # Find if the tensor corresponding to the id exists.
                 exists = False
@@ -1637,7 +1637,7 @@
 
                 # Initialise the tensor.
                 if not exists:
-                    generic_fns.align_tensor.init(tensor=id, params=[0.0, 
0.0, 0.0, 0.0, 0.0])
+                    generic_fns.align_tensor.init(align_id=id, params=[0.0, 
0.0, 0.0, 0.0, 0.0])
 
 
     def base_data_loop(self):




Related Messages


Powered by MHonArc, Updated Wed Jan 04 11:00:01 2012