I'm trying to get started by looking at the reference implementation and an example workflow. But I'm getting an error. I did:
$ pip install cwlref-runner
/software/[...]/python/python-2.7.3/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning
Installing collected packages: cwlref-runner
Successfully installed cwlref-runner-1.0
$ git clone https://github.com/common-workflow-language/workflows.git cwl-example-workflows
$ cd cwl-example-workflows/workflows/hello
$ cwl-runner --debug hello.cwl
I'm sorry, I couldn't load this CWL file, try again with --debug for more information.
Unrecognized version v1.0
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/cwltool/main.py", line 534, in main stdout=stdout) File "build/bdist.linux-x86_64/egg/cwltool/main.py", line 308, in load_tool workflowobj = update.update(workflowobj, document_loader, fileuri) File "build/bdist.linux-x86_64/egg/cwltool/update.py", line 309, in update raise Exception(u"Unrecognized version %s" % version) Exception: Unrecognized version v1.0
It's possible I've previously installed an older version of the reference tools, but I'm not a python person and I don't know how to diagnose or fix this. How can I make sure everything is up-to-date and able to parse v1.0 workflows?