mailr22703 - /trunk/user_functions/value.py


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

Header


Content

Posted by edward on April 10, 2014 - 20:01:
Author: bugman
Date: Thu Apr 10 20:01:28 2014
New Revision: 22703

URL: http://svn.gna.org/viewcvs/relax?rev=22703&view=rev
Log:
The new index argument for the value.set user function now defaults to zero.

This is for backwards compatibility as the default value of None was not 
handled by the user
function backend.


Modified:
    trunk/user_functions/value.py

Modified: trunk/user_functions/value.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/user_functions/value.py?rev=22703&r1=22702&r2=22703&view=diff
==============================================================================
--- trunk/user_functions/value.py       (original)
+++ trunk/user_functions/value.py       Thu Apr 10 20:01:28 2014
@@ -331,6 +331,7 @@
 uf.add_keyarg(
     name = "index",
     py_type = "int",
+    default = 0,
     min = 0,
     max = 10000000,
     desc_short = "index for list-type parameters",




Related Messages


Powered by MHonArc, Updated Thu Apr 10 20:20:02 2014