Commit Graph
9 Commits
Author SHA1 Message Date
Matthias Bernt 71dabed417 fix profile logic for configfile generation
some follow up fixes to

https://github.com/galaxyproject/galaxy/pull/9279/files
https://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%)
2021-02-15 19:22:29 +01:00
M Bernt f25192b533 json configfiles: handle slect like data_column
- 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
2020-02-01 14:15:20 +01:00
M Bernt 22a43aa5d8 extend config file inputs tests
add cases for ooptional/multiple data/select inputs
2020-02-01 14:15:20 +01:00
M Bernt 5de147a181 re-remove the data input 2020-01-22 09:37:24 +01:00
M Bernt fff8d2ec7b inputs configfile: test for filename and data_style attributes 2020-01-22 09:37:19 +01:00
John Chilton d06e2a672b XSD discovered tool problems. 2016-09-08 11:40:01 -04:00
John Chilton cd32b91dc9 Update inputs_as_json.xml to drop version attribute.
Also add note about filename.
2015-12-30 11:24:01 +00:00
John Chilton de0c913b8b More work on converting tool inputs to json.
- 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.
2015-12-30 11:17:13 +00:00
John Chilton d5d404c912 Implement special config file to dump parameters as json.
```
    <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.
2015-12-29 15:09:49 +00:00