Commit Graph
6 Commits
Author SHA1 Message Date
Nate Coraor e75f2b0895 Symlink sample configs back to config/ 2019-07-08 10:20:01 +02:00
Nate Coraor b6358f5333 Move remaining sample configs to lib/galaxy/config/sample 2019-07-08 10:19:11 +02:00
Nicola Soranzo f865e8359f Deprecate size attribute of <param/> and remove it from tools
Also:
- dos2unix test/functional/tools/for_workflows/head.xml
- Single-quote text and data params in `<command/>`
- Remove deprecated `interpreter` attribute of `<command />`
2018-09-10 11:34:37 +01:00
John Chilton b7b55ad0a4 Refactor workflow resource parameters.
This refactoring is untested and definitely broken in a couple places - but it illustrates broad directions I'd like the work to move in.

- On the input side of things - it serializes the individual parameters to the database each as its own instance of a WorkflowRequestInputParameter. In a couple places I've retried to refactor away from the terminology of "workflow_options" toward resource parameters - there are already other kinds of workflow options.
- On the backend - I've moved a lot of the logic into galaxy.workflow.resources and tried to make it more extensible. The goal is to allow the admin to specify any kind of function to define the parameters as they want for a given workflow and user - but to implement the existing "group based" variant desired by phac-nml as just one potential variant of that with a convient YAML description.
- This moves the priority validation for workflow priorities out of the plugin and handles it up when the request is being handled. This is kind of a hack - but it results in cleaner separation between the DTD and code for defining workflow priorities so that the DTD would work with any potential workflow parameter mapping XML format or dynamic mapping Python function.
- This exposes the workflow parameters to traditional dynamic job destinations (the DTD framework re-computes it from the "job" object and that is fine).
2017-11-30 10:00:31 -06:00
Jeffrey Thiessen c67523c27e fix sample file 2017-10-30 14:18:47 -05:00
Jeffrey Thiessen 0a28b4927c xml parsing 2017-10-27 14:20:39 -05:00