mailr18653 - /branches/frame_order_testing/auto_analyses/frame_order.py


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

Header


Content

Posted by edward on March 05, 2013 - 18:47:
Author: bugman
Date: Tue Mar  5 18:47:35 2013
New Revision: 18653

URL: http://svn.gna.org/viewcvs/relax?rev=18653&view=rev
Log:
The frame order auto-analysis now copies the optimised average position 
translation for nesting.

The translation parameters from the rigid model, when present, are copied to 
all other models.


Modified:
    branches/frame_order_testing/auto_analyses/frame_order.py

Modified: branches/frame_order_testing/auto_analyses/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/auto_analyses/frame_order.py?rev=18653&r1=18652&r2=18653&view=diff
==============================================================================
--- branches/frame_order_testing/auto_analyses/frame_order.py (original)
+++ branches/frame_order_testing/auto_analyses/frame_order.py Tue Mar  5 
18:47:35 2013
@@ -269,6 +269,12 @@
             rigid_pipe = get_pipe(self.pipe_name_dict['rigid'])
 
             # Copy the average position parameters from the rigid model.
+            if hasattr(rigid_pipe, 'ave_pos_x'):
+                cdp.ave_pos_x = rigid_pipe.ave_pos_x
+            if hasattr(rigid_pipe, 'ave_pos_y'):
+                cdp.ave_pos_y = rigid_pipe.ave_pos_y
+            if hasattr(rigid_pipe, 'ave_pos_z'):
+                cdp.ave_pos_z = rigid_pipe.ave_pos_z
             if model not in ['free rotor', 'iso cone, free rotor']:
                 cdp.ave_pos_alpha = rigid_pipe.ave_pos_alpha
             cdp.ave_pos_beta = rigid_pipe.ave_pos_beta




Related Messages


Powered by MHonArc, Updated Tue Mar 05 19:00:02 2013