Skip to main content

Upgrade a CWL tool or workflow document from one version to another

Project description

This is a standalone upgrader for Common Workflow Language documents from version draft-3, v1.0, and v1.1 to v1.2.

See https://github.com/sbg/sevenbridges-cwl-draft2-upgrader for upgrading from sbg:draft-2.

It does not check for correctness of the input document, for that one can use the CWL reference implementation (cwltool --validate).

This is written and tested for Python 3.8, 3.9, 3.10, 3.11, and 3.12.

Install

Installing the official package from PyPI:

pip install cwl-upgrader

Or from source:

git clone https://github.com/common-workflow-language/cwl-upgrader.git
pip install ./cwl-upgrader/

Run on the command line

cwl-upgrader path-to-cwl-document [another-path-to-cwl-document ...]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cwl-upgrader-1.2.11.tar.gz (21.8 kB view hashes)

Uploaded Source

Built Distribution

cwl_upgrader-1.2.11-py3-none-any.whl (27.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page