"Launch with" snippet does not work for Workflows
See original GitHub issueBug Report
The main page for a workflow contains as snippet of “Launch with” code that looks like this:
# alternatively, cwltool can run a workflow directly when all inputs and outputs are available on the local filesystem
$ cwltool --non-strict https://dockstore.org:8443/api/ga4gh/v1/tools/%23workflow%2FICGC-TCGA-PanCancer%2FOxoG-Dockstore-Tools%2Fpcawg-oxog-full-workflow/versions/develop/plain-CWL/descriptor Dockstore.json
The URL generated for this snippet (or maybe the API behind it?) does not work.
Expected behaviour
Users expect to be able to execute that code and have the workflow run.
Actual behaviour
Error 500.
Navigate to “https://dockstore.org:8443/api/ga4gh/v1/tools/%23workflow%2FICGC-TCGA-PanCancer%2FOxoG-Dockstore-Tools%2Fpcawg-oxog-full-workflow/versions/develop/plain-CWL/descriptor” in your browser and you will see:
{
"code": 500,
"message": "There was an error processing your request. It has been logged (ID 7099a2c2b9db6b63)."
}
Steps to reproduce the behaviour
Copy and paste the second “Launch with…” snippet of code for a workflow, and try running it.
This was originally reported by Chen, on Junjun’s team.
@garyluu also did a quick test and seems to think that this feature works for fine tools, but not for workflows.
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Can't get a snippet to work in a workflow - Alfred forum
I have a snippet 'nextsun' defined that produces a YYYYMMDD date, e.g. 20220501. I would like to combine this with a {query} input...
Read more >Run code snippets in workflows - Azure Logic Apps
To create and run a code snippet in your logic app workflow without much setup, you can use the Inline Code built-in connector....
Read more >Unable to create Snippets (#195) · Issues - GitLab.org
Problem to Solve. When trying to create a snippet the error message returned is GitLab Workflow: Failed to create your snippet," every time....
Read more >How to use snippets in Github action workflow file to avoid ...
The question asks about workflow snippets/files located in a different repository. This answer reuses actions that live in different repositories, but not ......
Read more >Events that trigger workflows - GitHub Docs
You can configure your workflows to run when specific activity on GitHub happens, at a scheduled time, or when an event outside of...
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
This appears to be fixed in my Aug 1 pull request. Tested with:
These are shown by the launch cwltool command with tools from the backup_db.sql. Both entries have an entry name without a corresponding entry that doesn’t have an entry name (quay.io/wtsicgp/dockstore-biobam2 and denis-yuen/hello-dockstore-workflow does not exist).
Update: This seems to affect…