Hi Troels, I would recommend setting the dim argument to (None, 3). The current setting means that there will be three 3D points, and this can never be changed. By setting the first value to None, that will mean that the user can change the number of points. If this causes errors, please just file a bug report. I now know how to create a GUI test for the user function window and then I can catch and fix it.
Cheers, Edward On 28 May 2014 11:28, <[email protected]> wrote: > Author: tlinnet > Date: Wed May 28 11:28:32 2014 > New Revision: 23498 > > URL: http://svn.gna.org/viewcvs/relax?rev=23498&view=rev > Log: > Added dim dimensions to match the x,y,z positions for GUI input in user > function dx.map. > > 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=23498&r1=23497&r2=23498&view=diff > ============================================================================== > --- trunk/user_functions/dx.py (original) > +++ trunk/user_functions/dx.py Wed May 28 11:28:32 2014 > @@ -177,6 +177,7 @@ > 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 = (3, 3) > ) > 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

