Commit Graph
12 Commits
Author SHA1 Message Date
guerler 409867230c Remove form dom removal through workflow manager 2017-08-16 18:16:45 -04:00
mvdbeek 09c4b1037b Break connection in workflow editor if necessary
When switching tool versions in the workflow editor connections are
maintained by default. If a tool changes the datatype one may end up
with a connection between incompatible input/outputs. Therefore we
update the datatypes and explicitly destroy invalid connections.
2017-08-15 21:50:08 +02:00
mvdbeek 73f4141d96 Add static JS 2017-08-14 00:21:25 +02:00
guerler e571fce478 Revise label handling and duplicate check, move save controller to api for proper error response 2017-01-11 16:18:09 -05:00
guerler d21c77c67b Parse job actions as dictionary 2017-01-02 13:25:50 -05:00
guerler 4476a2bfbf Indicate removal of form html building 2016-12-19 15:17:22 -05:00
guerler 3535326a46 Rename error identifier to indicate generic step related error 2016-11-16 10:16:01 -05:00
John Chilton 157939aa8f Implement nested workflows.
Details:

 - Add a new workflow module describing subworkflows.
 - Add workflow list to editor side panel - with options to link in a subworkflow module or copy the target workflow into the workflow being editted node for node.
 - Update workflow, workflow step, and workflow invocation models to track subworkflow connections and execution.
 - Extend workflow outputs with concepts of labels (and UUIDs while I'm there) to match workflow inputs. This allow us to have something to label outputs with in the workflow editor and to reference in the format 2 workflow description language.
 - Extend workflow editor UI to allow labeling workflow outputs (and enforce that these are unique across a workflow).
 - Extend workflow invocation and progress tracking to allow invoking a subworkflow as part of another workflow invocation.
 - Extend workflow import and export code to allow a nested representation of workflows.
 - Update format 2 workflow description to allow testing nested workflows.

Most relevant new and modified test cases can be run using the following commands:

```
./run_tests.sh -api test/api/test_workflows.py:WorkflowsApiTestCase.test_run_subworkflow_simple
./run_tests.sh -api test/api/test_workflows_from_yaml.py:WorkflowsFromYamlApiTestCase.test_subworkflow_simple
./run_tests.sh -api test/api/test_workflows_from_yaml.py:WorkflowsFromYamlApiTestCase.test_outputs
nosetests test/unit/test_galaxy_mapping.py
nosetests test/unit/workflows/test_workflow_progress.py
```
2015-12-16 15:22:18 +00:00
John Chilton e3161b4671 Add support for workflow step labels in editor.
- If a step has a label, display it in the step editor side panel title.
 - Allow clicking the title to change the label.
 - Display the label (if set) as the workflow node box title.
 - Add icon to workflow node since the title might not be related to type anymore.
 - Enforce unique labels accross the workflow in the editor.
 - Qunit test cases for some of this behavior and other recent changes.
2015-12-06 12:27:13 +00:00
John Chilton cee9d4d1b3 Grunt the workflow JS. 2015-12-04 20:37:35 +00:00
guerler 97212e9b32 Remove globals from workflow-node module 2015-06-15 12:27:29 -04:00
guerler fd9f027a5c Further workflow front-end refactoring 2015-06-15 03:50:49 -04:00