mailr23078 - /trunk/user_functions/dx.py


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

Header


Content

Posted by tlinnet on May 08, 2014 - 14:40:
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",




Related Messages


Powered by MHonArc, Updated Thu May 08 15:00:02 2014