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

Map tar file to 'Directory' type #93

Open
ghost opened this issue Dec 27, 2018 · 0 comments
Open

Map tar file to 'Directory' type #93

ghost opened this issue Dec 27, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 27, 2018

When running the BUSCO tool, error below occurs

Traceback (most recent call last):
  File "lib/galaxy/jobs/runners/__init__.py", line 214, in prepare_job
    job_wrapper.prepare()
  File "lib/galaxy/jobs/__init__.py", line 871, in prepare
    tool_evaluator.set_compute_environment(compute_environment, get_special=get_special)
  File "lib/galaxy/tools/evaluation.py", line 123, in set_compute_environment
    self.tool.exec_before_job(self.app, inp_data, out_data, param_dict)
  File "lib/galaxy/tools/__init__.py", line 2457, in exec_before_job
    cwl_command_line = cwl_job_proxy.command_line
  File "lib/galaxy/tools/cwl/parser.py", line 516, in command_line
    if self.is_command_line_job:
  File "lib/galaxy/tools/cwl/parser.py", line 428, in is_command_line_job
    self._ensure_cwl_job_initialized()
  File "lib/galaxy/tools/cwl/parser.py", line 452, in _ensure_cwl_job_initialized
    *args, **kwargs
  File "/home/jra001k/snapshot/galaxy/.venv/local/lib/python2.7/site-packages/cwltool/command_line_tool.py", line 342, in job
    builder = self._init_job(job_order, **kwargs)
  File "/home/jra001k/snapshot/galaxy/.venv/local/lib/python2.7/site-packages/cwltool/process.py", line 594, in _init_job
    raise WorkflowException("Invalid job input record:\n" + Text(e))
WorkflowException: Invalid job input record:
the `lineage` field is not valid because
  Expected class 'Directory' but this is 'File'

The two commits below fix this error:

a4b82fa

3399e03

(galaxy fork)

Note: this patch is a rewriting of a previous try, which should prevent regression in "Directory output test".

@ghost ghost mentioned this issue Dec 27, 2018
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

0 participants