Skip to main content

No project description provided

Project description

cwl-utils

A collection of scripts to demonstrate the use of the new Python classes for loading and parsing CWL v1.0 documents.

cwl_utils/parser_v1_0.py was created via schema-salad-tool --codegen python https://github.com/common-workflow-language/common-workflow-language/raw/master/v1.0/CommonWorkflowLanguage.yml

Install

Requires Python 3.6.x or Python 3.7

git clone https://github.com/common-workflow-language/cwl-utils.git
virtualenv -p python3.6 venv3.6
source venv3.6/bin/activate
pip install cwl-utils

Usage

Pull the image with Docker

This is the default behaviour:

python docker_extract.py DIRECTORY path_to_my_workflow.cwl

Pull the image with Singularity

python docker_extract.py --singularity DIRECTORY path_to_my_workflow.cwl

Regenerate

To regenerate install schema_salad package and run:

schema-salad-tool --codegen python \
    https://raw.githubusercontent.com/common-workflow-language/common-workflow-language/master/v1.0/CommonWorkflowLanguage.yml

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-utils-0.4.tar.gz (85.2 kB view details)

Uploaded Source

File details

Details for the file cwl-utils-0.4.tar.gz.

File metadata

  • Download URL: cwl-utils-0.4.tar.gz
  • Upload date:
  • Size: 85.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for cwl-utils-0.4.tar.gz
Algorithm Hash digest
SHA256 0c0c92964e71eec406e0c3a352a1e9ac3da00f6e642b299a9ebbc01c2b9df198
MD5 1ba6290cc0ceb28e884d26f2798905fa
BLAKE2b-256 45ecc5c1186d94467d80148c9f20f12b4d6d2914445a2f844396188750494ff9

See more details on using hashes here.

Provenance

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