Hi Troels, For this dx.map 'chi_surface' argument (maybe it should be 'chi2_surface' as it is chi^2), you can use the 'dim' argument to fix this to 4 elements. That helps in the GUI as well as checking if the user has input something with 4 elements. Regards, Edward On 27 May 2014 18:47, <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet Date: Tue May 27 18:47:25 2014 New Revision: 23480 URL: http://svn.gna.org/viewcvs/relax?rev=23480&view=rev Log: Modified py_type from "list" to "float_array" in uf_object type in user function dx.map. Bug #22035: (https://gna.org/bugs/?22035) The dx.map user function is broken in the GUI. 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=23480&r1=23479&r2=23480&view=diff ============================================================================== --- trunk/user_functions/dx.py (original) +++ trunk/user_functions/dx.py Tue May 27 18:47:25 2014 @@ -189,7 +189,7 @@ uf.add_keyarg( name = "chi_surface", default = None, - py_type = "list", + py_type = "float_array", desc_short = "Set the chi2 surface level for the Innermost, Inner, Middle and Outer Isosurface.", desc = "A list of 4 numbers, setting the level for the 4 isosurfaces. Useful in scripting if you create a set of OpenDX maps with all the same contour levels. Ideal for comparisons.", can_be_none = True _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@xxxxxxx 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