mailr23555 - /trunk/user_functions/dx.py


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

Header


Content

Posted by edward on May 28, 2014 - 18:26:
Author: bugman
Date: Wed May 28 18:26:19 2014
New Revision: 23555

URL: http://svn.gna.org/viewcvs/relax?rev=23555&view=rev
Log:
Added list titles for the dx.map user function point argument.

This is so that the Sequence_2D GUI element will have column titles of 'X 
coordinate',
'Y coordinate', and 'Z coordinate'.


Modified:
    trunk/user_functions/dx.py

Modified: trunk/user_functions/dx.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/user_functions/dx.py?rev=23555&r1=23554&r2=23555&view=diff
==============================================================================
--- trunk/user_functions/dx.py  (original)
+++ trunk/user_functions/dx.py  Wed May 28 18:26:19 2014
@@ -174,10 +174,11 @@
 uf.add_keyarg(
     name = "point",
     py_type = "list_val_or_list_of_list_val",
+    dim = (None, 3),
     desc_short = "highlight points in the space",
     desc = "This argument allows specific points in the optimisation space 
to be displayed as coloured spheres.  This can be used to highlight a minimum 
or other any other feature of the space.  Either a single point or a list of 
points can be supplied.  Each point is a list of floating point numbers in 
the form [x, y, z]",
-    can_be_none = True,
-    dim = (None, 3)
+    list_titles = ['X coordinate', 'Y coordinate', 'Z coordinate'],
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "point_file",




Related Messages


Powered by MHonArc, Updated Wed May 28 18:40:02 2014