Author: bugman Date: Wed May 28 19:10:00 2014 New Revision: 23561 URL: http://svn.gna.org/viewcvs/relax?rev=23561&view=rev Log: Modified the 'pos' argument of the structure.add_atom user function. The argument is now a list of fixed length of 3, and it has the titles 'X coordinate', 'Y coordinate', and 'Z coordinate' which are shown in the GUI. Modified: trunk/user_functions/structure.py Modified: trunk/user_functions/structure.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/structure.py?rev=23561&r1=23560&r2=23561&view=diff ============================================================================== --- trunk/user_functions/structure.py (original) +++ trunk/user_functions/structure.py Wed May 28 19:10:00 2014 @@ -75,8 +75,10 @@ uf.add_keyarg( name = "pos", py_type = "float_object", + dim = 3, desc_short = "atomic position", - desc = "The atomic coordinates." + desc = "The atomic coordinates.", + list_titles = ['X coordinate', 'Y coordinate', 'Z coordinate'] ) uf.add_keyarg( name = "element",