Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name adjustFiles #2

Open
golharam opened this issue Aug 22, 2016 · 1 comment
Open

ImportError: cannot import name adjustFiles #2

golharam opened this issue Aug 22, 2016 · 1 comment

Comments

@golharam
Copy link

I have cwltool installed and can successfully run cwl workflows. I install cwl2script in the same pyton virtual environment, but when I run cwl2script test/revsort.cwl test/revsort-job.json, I get:

Traceback (most recent call last):
File "/home/golharr/workspace/common-workflow-language/cwl_venv/bin/cwl2script", line 9, in
load_entry_point('cwl2script==1.0', 'console_scripts', 'cwl2script')()
File "/home/golharr/workspace/common-workflow-language/cwl_venv/lib/python2.7/site-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/golharr/workspace/common-workflow-language/cwl_venv/lib/python2.7/site-packages/pkg_resources/init.py", line 2570, in load_entry_point
return ep.load()
File "/home/golharr/workspace/common-workflow-language/cwl_venv/lib/python2.7/site-packages/pkg_resources/init.py", line 2230, in load
return self.resolve()
File "/home/golharr/workspace/common-workflow-language/cwl_venv/lib/python2.7/site-packages/pkg_resources/init.py", line 2236, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "build/bdist.linux-x86_64/egg/cwl2script.py", line 7, in
ImportError: cannot import name adjustFiles

I'm not sure why this would be.

@mr-c
Copy link
Member

mr-c commented Aug 23, 2016

Hello @golharam and thank you for your issue. This code hasn't been updated in ten months, and the CWL reference implementation has changed its internal API several times since then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants