[galaxyproject/galaxy] d06b22: Convert tool parameter XML attribute 'hidden' into...
Branch: refs/heads/dev Home: https://github.com/galaxyproject/galaxy Commit: d06b221905cc4eb935939c6a29685c0dff125bf8 https://github.com/galaxyproject/galaxy/commit/d06b221905cc4eb935939c6a29685... Author: Andrey Tovchigrechko <tovchigrechkoa@medimmune.com> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M lib/galaxy/tools/parameters/basic.py Log Message: ----------- Convert tool parameter XML attribute 'hidden' into the correct boolean Python type. Previously it was converted into string, and in the logical predicates any non-empty value would always evaluate to True. This fix allows using the 'hidden' attribute in parameterized XML macros with 'true' or 'false' passed as a macros parameter. This in turns allows hiding some form fields (after setting default values) based on choices picked in conditional switches. Commit: 3fd7b87fb96ebb4503f4b8c2c456aaced9a5c482 https://github.com/galaxyproject/galaxy/commit/3fd7b87fb96ebb4503f4b8c2c456a... Author: John Chilton <jmchilton@gmail.com> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M lib/galaxy/tools/parameters/basic.py Log Message: ----------- Merge pull request #6539 from andreyto/at_hidden_par_conv Convert tool parameter XML attribute 'hidden' into the correct boolean Python type Compare: https://github.com/galaxyproject/galaxy/compare/4955add0a343...3fd7b87fb96e **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
GitHub