Author: tlinnet Date: Mon Sep 8 18:49:43 2014 New Revision: 25687 URL: http://svn.gna.org/viewcvs/relax?rev=25687&view=rev Log: Parsed the force flag from front end of value.set to back end. Bug #22598 (https://gna.org/bugs/index.php?22598). Back end of value.set does not respect force=False flag. 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=25687&r1=25686&r2=25687&view=diff ============================================================================== --- trunk/user_functions/value.py (original) +++ trunk/user_functions/value.py Mon Sep 8 18:49:43 2014 @@ -342,6 +342,13 @@ py_type = "bool", desc_short = "error flag", desc = "A flag which if True will cause the error rather than parameter to be set." +) +uf.add_keyarg( + name = "force", + default = True, + 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())