Support CWL written with JSON
See original GitHub issueIs your feature request related to a problem? Please describe. While looking at #3616, it came up that we don’t support CWL written using JSON. CWL documentation says it can be written with yaml or json or a combination of the two. If I try to register
{
"cwlVersion": "v1.0"
"class": "Workflow"
}
it results in an error
Describe the solution you’d like Allow json cwl to be registered on Dockstore
Describe alternatives you’ve considered Don’t bother? I have no idea how many people use the json format for cwl
┆Issue is synchronized with this Jira Story ┆epic: Third-party integrations ┆fixVersions: Dockstore 2.X ┆friendlyId: DOCK-1487 ┆sprint: Backlog ┆taskType: Story
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Proposal: Add ability to write a cwl.inputs.json #704
At the moment, you can get a CWL interpreter to read the contents of a json file called cwl.outputs.json and make json data...
Read more >CWL Output Json
Hey, I am trying to work on a plugin that will output an array of strings. My goal is to also this plugin...
Read more >1.1. Quick Start
CWL documents are written in YAML (and/or JSON). The example below shows a simple CWL “Hello World” workflow annotated with comments: hello_world.cwl #....
Read more >Common Workflow Language User Guide - Dr Toby Hodges
CWL documents are written in YAML and/or JSON. The command called is specified with baseCommand . Each expected input is described in the...
Read more >How CWL is Parsed - Cromwell
Produce a canonical one-file representation of the CWL as a JSON object in memory · Use Circe to turn that representation into scala...
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 think this has consequences for the CLI, syntax highlighting, parsing, etc.
Let’s see how popular this request is in terms of voting, a workaround might just be to direct people at something like https://jsonformatter.org/json-to-yaml or https://www.json2yaml.com/
Sorry, they are different, but “export” is what I meant.