https://github.com/wtsi-hgi/cwl-dummy
Generates CWL files that do nothing.
https://github.com/wtsi-hgi/cwl-dummy
common-workflow-language cwl
Last synced: 19 days ago
JSON representation
Generates CWL files that do nothing.
- Host: GitHub
- URL: https://github.com/wtsi-hgi/cwl-dummy
- Owner: wtsi-hgi
- License: mit
- Created: 2018-08-07T15:13:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-07T15:15:24.000Z (over 7 years ago)
- Last Synced: 2025-03-22T00:44:43.382Z (about 1 year ago)
- Topics: common-workflow-language, cwl
- Language: Python
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cwl-dummy
Generates CWL files that use [cwl-dummy-tool][] to do nothing.
[cwl-dummy-tool]: https://github.com/wtsi-hgi/cwl-scheduler-tests
## Usage
Install via Pip:
```
python3.6 -m venv venv
source venv/bin/activate
pip install git+https://github.com/wtsi-hgi/cwl-dummy
```
Then run cwl-dummy on the tool or workflow you'd like to mock (in the
case of a workflow, all tools and subworkflows used by the workflow will
be automatically recursively processed):
```
cwl-dummy my-workflow.cwl
```
Fix any errors reported, and check all warnings, then run the
newly-generated workflow:
```
cwl-runner my-workflow.cwl.dummy
```
## Limitations
cwl-dummy does not use schema-salad to preprocess documents, so it's not
able to cope with documents that make use of more complex schema-salad
features (`$graph`, `$import`, `$include`, relative identifiers, etc.).
## License
Copyright (C) 2018 Genome Research Ltd.
cwl-dummy is distributed under the terms of the MIT license, a copy of
which can be found in the file `LICENSE`.
cwl-dummy is based on [cwl-upgrader][], which is used under the terms of
the Apache license, version 2.0; a copy of the Apache license is
available in the file `LICENSE.APACHE`.
[cwl-upgrader]: https://github.com/common-workflow-language/cwl-upgrader