Open jsunny23 opened 6 years ago
I am also obsveing the same error as well. If youpip install cwltool==1.0.20180225105849
, an older release of cwltools from Feburary 28th 2018, it works!
I will also point out that is not the only problem. The README.md
testfiles described here do not exist.
I ended up using a test cwl file in this location:
/path/to/git/repo/dx-cwl/tests/md5sum/md5sum.cwl
That being said, this command seemed to do the trick:
python dx-cwl compile-workflow tests/md5sum/md5sum.cwl --token yourAUTHTOKEN --project yourPROJECTID
That being said, it may be time to update the install portion of the README.md
.
Here are the steps I took for installation:
virtualenv dxenv
source dxenv/bin/activate
pip install --upgrade pip
pip install cwltool==1.0.20180225105849
pip install PyYAML
pip install dxpy
I am not sure why you are running that get-cwltool.sh
script since you are already pip installing cwltool (seems unnecessary).
Cwltool made some updates to their code which makes it incompatible with dx-cwl. For instance, here where they changed the function name from defaultMakeTool to default_make_tool.
There are other places where the code is now broken, due to the cwltool changes.