Author: bugman Date: Tue Jul 17 09:26:39 2012 New Revision: 17262 URL: http://svn.gna.org/viewcvs/relax?rev=17262&view=rev Log: Reimplementation of r15046 but within the auto-generated user function design. The 'fix' flag of the frame_order.pivot user function was lost as the changes went into prompt/frame_order.py. ..... r15046 | bugman | 2011-12-07 18:04:11 +0100 (Wed, 07 Dec 2011) | 5 lines Changed paths: M /branches/frame_order_testing/prompt/frame_order.py M /branches/frame_order_testing/specific_fns/frame_order.py The frame_order.pivot user function now accepts the fix argument to allow the pivot to be fixed. This is for optimisation. ..... Modified: branches/frame_order_testing/user_functions/frame_order.py Modified: branches/frame_order_testing/user_functions/frame_order.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/user_functions/frame_order.py?rev=17262&r1=17261&r2=17262&view=diff ============================================================================== --- branches/frame_order_testing/user_functions/frame_order.py (original) +++ branches/frame_order_testing/user_functions/frame_order.py Tue Jul 17 09:26:39 2012 @@ -135,6 +135,12 @@ dim = 3, desc_short = "pivot point", desc = "The pivot point for the motion (e.g. the position between the 2 domains in PDB coordinates)." +) +uf.add_keyarg( + name = "fix", + py_type = "bool", + desc_short = "fixed flag", + desc = "A flag specifying if the pivot point should be fixed during optimisation." ) # Description. uf.desc.append(Desc_container())