mailr25113 - /trunk/user_functions/value.py


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

Header


Content

Posted by tlinnet on August 20, 2014 - 19:16:
Author: tlinnet
Date: Wed Aug 20 19:16:09 2014
New Revision: 25113

URL: http://svn.gna.org/viewcvs/relax?rev=25113&view=rev
Log:
Implemented to the front_end of the value.copy, a "force" flag to overwrite 
destination value.

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=25113&r1=25112&r2=25113&view=diff
==============================================================================
--- trunk/user_functions/value.py       (original)
+++ trunk/user_functions/value.py       Wed Aug 20 19:16:09 2014
@@ -84,6 +84,13 @@
     wiz_element_type = 'combo',
     wiz_combo_iter = value.get_parameters,
     wiz_read_only = True
+)
+uf.add_keyarg(
+    name = "force",
+    default = False,
+    py_type = "bool",
+    desc_short = "force flag",
+    desc = "A flag which, if set to True, will cause the destination 
parameter to be overwritten."
 )
 # Description.
 uf.desc.append(Desc_container())




Related Messages


Powered by MHonArc, Updated Wed Aug 20 19:20:02 2014