question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support CWL written with JSON

See original GitHub issue

Is 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:open
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
denis-yuencommented, May 5, 2022

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/

1reaction
bethsheetscommented, Apr 29, 2022

Sorry, they are different, but “export” is what I meant.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found