reanahub / reana-client

REANA command-line client
http://reana-client.readthedocs.io/
MIT License
10 stars 46 forks source link

dag: investigate static DAG generation for CWL workflows #513

Open tiborsimko opened 3 years ago

tiborsimko commented 3 years ago

This task is similar to #512 but for CWL workflows rather than Yadage workflows.

Note: see CWL viewer or see cwltool --print-rdf workflow.cwl and other "print" commands.

mvidalgarcia commented 3 years ago

An option would be using the CWL viewer API to download the PNGs.

Some examples:

For some reason it doesn't work for https://view.commonwl.org/graph/png/github.com/reanahub/reana-demo-worldpopulation/blob/master/workflow/cwl/worldpopulation.cwl and https://view.commonwl.org/graph/png/github.com/reanahub/reana-demo-helloworld/blob/master/workflow/cwl/helloworld.cwl

mr-c commented 3 years ago

An option would be using the CWL viewer API to download the PNGs.

For some reason it doesn't work for https://view.commonwl.org/graph/png/github.com/reanahub/reana-demo-worldpopulation/blob/master/workflow/cwl/worldpopulation.cwl and https://view.commonwl.org/graph/png/github.com/reanahub/reana-demo-helloworld/blob/master/workflow/cwl/helloworld.cwl

https://view.commonwl.org/graph/png is not an on-demand endpoint, it only works for already parsed workflows. See https://view.commonwl.org/apidocs