Author: bugman Date: Thu Jun 5 18:57:37 2014 New Revision: 23667 URL: http://svn.gna.org/viewcvs/relax?rev=23667&view=rev Log: Added titles for all 3D coordinate user function arguments. This is for the Sequence GUI input element, and affects the frame_order.average_position, n_state_model.CoM and paramag.centre user functions. Modified: trunk/user_functions/frame_order.py trunk/user_functions/n_state_model.py trunk/user_functions/paramag.py Modified: trunk/user_functions/frame_order.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/frame_order.py?rev=23667&r1=23666&r2=23667&view=diff ============================================================================== --- trunk/user_functions/frame_order.py (original) +++ trunk/user_functions/frame_order.py Thu Jun 5 18:57:37 2014 @@ -52,8 +52,10 @@ name = "pivot", default = "com", py_type = "str", + dim = 3, desc_short = "average position pivot", desc = "The type of pivot to use for the rotation to the average domain position. This can be one of 'com' or 'motional'.", + list_titles = ['X coordinate', 'Y coordinate', 'Z coordinate'], wiz_element_type = "combo", wiz_combo_choices = [ "Centre of Mass (CoM)", Modified: trunk/user_functions/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/n_state_model.py?rev=23667&r1=23666&r2=23667&view=diff ============================================================================== --- trunk/user_functions/n_state_model.py (original) +++ trunk/user_functions/n_state_model.py Thu Jun 5 18:57:37 2014 @@ -55,7 +55,8 @@ py_type = "num_list", dim = 3, desc_short = "pivot point", - desc = "The pivot point of the motions between the two domains." + desc = "The pivot point of the motions between the two domains.", + list_titles = ['X coordinate', 'Y coordinate', 'Z coordinate'] ) uf.add_keyarg( name = "centre", @@ -63,6 +64,7 @@ dim = 3, desc_short = "centre of mass", desc = "Manually specify the CoM of the initial position prior to the N rotations to the positions of the N states. This is optional.", + list_titles = ['X coordinate', 'Y coordinate', 'Z coordinate'], can_be_none = True ) # Description. Modified: trunk/user_functions/paramag.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/paramag.py?rev=23667&r1=23666&r2=23667&view=diff ============================================================================== --- trunk/user_functions/paramag.py (original) +++ trunk/user_functions/paramag.py Thu Jun 5 18:57:37 2014 @@ -46,6 +46,7 @@ dim = 3, desc_short = "atomic position", desc = "The atomic position of the paramagnetic centre.", + list_titles = ['X coordinate', 'Y coordinate', 'Z coordinate'], can_be_none = True ) uf.add_keyarg(