Well... That is not how the GUI is responding.
If I make (None, 3), there is only 2 input fields. The logic of getting this GIU thing to work, is quite a hard work. This has costed now 2-3 hours, to get this little simple thing to work. It must have been a pain to build it up! Best Troels 2014-05-28 12:11 GMT+02:00 Edward d'Auvergne <[email protected]>: > Hi Troels, > > Setting the dimensions to (None, 4) means that you have a user defined > number of points, but each point is 4D [x, y, z, t]. > > Regards, > > Edward > > > > On 28 May 2014 12:09, <[email protected]> wrote: >> Author: tlinnet >> Date: Wed May 28 12:09:37 2014 >> New Revision: 23508 >> >> URL: http://svn.gna.org/viewcvs/relax?rev=23508&view=rev >> Log: >> Modified the dim dimensions to (None, 4) to allow the user to change number >> of points in the GUI. >> >> THe first dimension was used as a counter, the last 3 dimensions is for >> x,y,z position. >> >> This is for the 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=23508&r1=23507&r2=23508&view=diff >> ============================================================================== >> --- trunk/user_functions/dx.py (original) >> +++ trunk/user_functions/dx.py Wed May 28 12:09:37 2014 >> @@ -177,7 +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 = (None, 3) >> + dim = (None, 4) >> ) >> 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 _______________________________________________ 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

