some follow up fixes to
https://github.com/galaxyproject/galaxy/pull/9279/fileshttps://github.com/galaxyproject/galaxy/pull/9776/files
- wrong profile for the profile test tool (it used 20.01, but should
have used 20.05)
- the non-profile test tool used wrong assumptions. now fixed
and also tested against 19.09
- in the profile version `value_wrapper.value` needs to be casted
for `multiple==False` otherwise we gat `"None"` (which I do not
understand 100%)
- in particular the case of an empty select did yield "None" before
now its []
Problem was that the ValueWrapper is not None if nothing is selected
- but also non empty selects were "option1,option2" now its
["option1","option2"]
- renamed variable value -> value_wrapper
- Drop version requirement per commends by @bgruening.
- Add examples for conditionals, repeats, sections, colors, and booleans specified truevalue/falsevalue.
- Various bug fixes unearthed by new test cases.
```
<configfiles>
<inputs name="inputs" format="json" version="1" />
</configfiles>
```
Version is specified as 1, because the Galaxy tool plumbing doesn't really distinguish between parameter is '', parameter was explicitly supplied as None, parameter was absent, etc... - everything is a just a string in some ways. This distinction may be more important with JSON and for instance the CWL will require more percision, so we may want to revise Galaxy's tool handling in a backward compatible way someday.