Hi,

The desc_short is a little funky and may not display so well in the
GUI.  Maybe something like the following would work better:

+    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]",

What do you think?

Regards,

Edward




On 8 May 2014 14:40,  <[email protected]> wrote:
> Author: tlinnet
> Date: Thu May  8 14:40:15 2014
> New Revision: 23078
>
> URL: http://svn.gna.org/viewcvs/relax?rev=23078&view=rev
> Log:
> Modified user function dx.map to accept list og lists with values.
>
> task #7791: (https://gna.org/task/index.php?7791 ) the dx.map should accept a 
> list of list with values for points.
>
> 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=23078&r1=23077&r2=23078&view=diff
> ==============================================================================
> --- trunk/user_functions/dx.py  (original)
> +++ trunk/user_functions/dx.py  Thu May  8 14:40:15 2014
> @@ -173,10 +173,11 @@
>  )
>  uf.add_keyarg(
>      name = "point",
> -    py_type = "num_list",
> -    desc_short = "point",
> -    desc = "An array of parameter values where a point in the map, shown as 
> a red sphere, will be placed.  The length must be equal to the number of 
> parameters.",
> -    can_be_none = True
> +    py_type = "list_val_or_list_of_list_val",
> +    desc_short = "[x, y, x] point of list of x, y, x points. [[x1, y1, z1], 
> [x2, y2, z2]]",
> +    desc = "An list of parameter values where a point in the map, shown as a 
> red sphere, will be placed.  The length of each point must be equal to the 
> number of parameters.",
> +    can_be_none = True,
> +    list_of_lists = True
>  )
>  uf.add_keyarg(
>      name = "point_file",
>
>
> _______________________________________________
> relax (http://www.nmr-relax.com)
>
> This is the relax-commits mailing list
> [email protected]
>
> To unsubscribe from this list, get a password
> reminder, or change your subscription options,
> visit the list information page at
> https://mail.gna.org/listinfo/relax-commits

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to