Author: bugman Date: Tue Mar 5 10:48:56 2013 New Revision: 18628 URL: http://svn.gna.org/viewcvs/relax?rev=18628&view=rev Log: Fixes for the frame order displacement testing script in the test suite. Modified: branches/frame_order_testing/test_suite/shared_data/frame_order/displacements/rigid_test.py Modified: branches/frame_order_testing/test_suite/shared_data/frame_order/displacements/rigid_test.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/test_suite/shared_data/frame_order/displacements/rigid_test.py?rev=18628&r1=18627&r2=18628&view=diff ============================================================================== --- branches/frame_order_testing/test_suite/shared_data/frame_order/displacements/rigid_test.py (original) +++ branches/frame_order_testing/test_suite/shared_data/frame_order/displacements/rigid_test.py Tue Mar 5 10:48:56 2013 @@ -23,7 +23,7 @@ This script should be run from the directory where it is found with the commands: -$ ../../../../relax full_analysis.py +$ ../../../../relax rigid_test.py """ # Python module imports. @@ -115,8 +115,8 @@ # Link the domains to the PDB files. frame_order.domain_to_pdb(domain='fixed', pdb='displaced.pdb') -# Allow the average domain to be translated during optimisation. -frame_order.ave_pos_translate() +# Set up the mechanics of the displacement to the average domain position. +frame_order.average_position(pivot='com', translation=True) # Set the initial pivot point (should make no difference for the rigid model). pivot = array([0, 0, 0], float64)