Commit Graph
4 Commits
Author SHA1 Message Date
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