2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/d94fef109543/ Changeset: d94fef109543 Branch: next-stable User: guerler Date: 2014-11-26 17:42:46+00:00 Summary: ToolForm: Ensure that the correct definition for booleans is used Affected #: 1 file diff -r 9dc543bfedd7121cecb0e3f5a980fa387b09ff10 -r d94fef1095439d5cf7145ca6eb13b9f12f453874 lib/galaxy/webapps/galaxy/api/tools.py --- a/lib/galaxy/webapps/galaxy/api/tools.py +++ b/lib/galaxy/webapps/galaxy/api/tools.py @@ -587,7 +587,7 @@ error = 'State validation failed.' try: # resolves the inconsistent definition of boolean parameters (see base.py) without modifying shared code - if input.type == 'boolean': + if input.type == 'boolean' and isinstance(default_value, basestring): value, error = [util.string_as_bool(default_value), None] else: value, error = check_param(trans, input, default_value, context) https://bitbucket.org/galaxy/galaxy-central/commits/c5321f66c314/ Changeset: c5321f66c314 User: guerler Date: 2014-11-26 17:43:05+00:00 Summary: Merge Affected #: 1 file diff -r 5f178251e9b579f62ceb172ab562d67d1c841b73 -r c5321f66c314cdfcaeb0aaedcc65c479558abf3a lib/galaxy/webapps/galaxy/api/tools.py --- a/lib/galaxy/webapps/galaxy/api/tools.py +++ b/lib/galaxy/webapps/galaxy/api/tools.py @@ -594,7 +594,7 @@ error = 'State validation failed.' try: # resolves the inconsistent definition of boolean parameters (see base.py) without modifying shared code - if input.type == 'boolean': + if input.type == 'boolean' and isinstance(default_value, basestring): value, error = [util.string_as_bool(default_value), None] else: value, error = check_param(trans, input, default_value, context) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.