exec of cwl with $include fails
See original GitHub issueBug Report
Looks like there is a failure to resolve the path of includes when pulling in linked files to CWL definition.
Project stucture:
dockstore-cgpmap
- cwls
- includes
doc.yml
- mixins
hints.yml
requirements.yml
cgpmap-bamOut.cwl
cgpmap-bamOut.cwl
cwl snippet
...
doc:
$include: includes/doc.yml
...
Expected behaviour
Should build a local structure to mirror above pulling down the relates files before executing cwltool.
Actual behaviour
dockstore tool launch --entry quay.io/wtsicgp/dockstore-cgpmap/cgpmap-bamOut:3.0.0-rc7 --json fastq_gz_input.json
Error writing to File
java.io.FileNotFoundException: /tmp/1518013364741-0/cwlsincludes/doc.yml (No such file or directory)
Looks like missing /
in cwlsincludes
. Note that no erroneously named folder was created either.
$ tree /tmp/1518013364741-0
/tmp/1518013364741-0
└── cwls
└── cgpmap-bamOut.cwl
Steps to reproduce the behaviour
As above
Environment (Browser or OS and Dockstore version)
$ dockstore --version
Dockstore version 1.3.3
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Common Workflow Language (CWL) Command Line Tool ...
If the program includes a path separator character it must be an absolute path, otherwise it is an error. If the program does...
Read more >yuch7/cwlexec: A new open source tool to run CWL ... - GitHub
The post-failure script can be configured at the step or flow level, just like the bsub options in the exec-config configuration file that...
Read more >Running and Debugging a Workflow – Getting Started with CWL
A workflow can fail for many reasons: some possible reasons include bad input, bugs in the code, or running out memory. In our...
Read more >Too many arguments on the command line - CWL Questions
Hi all, I am using CWL version 1.0 to describe both the steps and the workflow. If I use as input to a...
Read more >Configuring Amazon CloudWatch Logs for Run Command
Choose this option if sending commands from the console, or add the cloud-watch-output-config ... For example, if there is no error data for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can work around the symlink so it’s not a problem just wanted to highlight that isn’t possible.
Seems to launch fine alongside https://github.com/ga4gh/dockstore/issues/1149 cgpmap with 3.0.0-rc8