id in CommandLineTool causes dot graph to not be printed correctly
See original GitHub issuecwltool --print-dot workflow.cwl
produces an empty output if CommandLineTool
has an id
field. I was not able to identify a further root cause, but If the id
field is removed, than --print-dot
works correctly as expected.
Expected Behavior
digraph {compound=true
"workflow_with_id.cwl#my_step" [label="my_step"]
}%
this is the expected graph. This is what gets correctly printed if I remove the id
root field from the my_step.cwl file
Actual Behavior
digraph {compound=true
}%
Workflow Code
workflow:
class: Workflow
cwlVersion: v1.0
requirements:
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement
- class: MultipleInputFeatureRequirement
inputs:
foo: string
outputs:
bar:
type: string
outputSource: my_step/bar
steps:
my_step:
run: ./my_step.cwl
in:
foo:
source: foo
out: [bar]
step:
class: CommandLineTool
cwlVersion: v1.0
id: my_step
baseCommand:
- echo
inputs:
foo: string
outputs:
bar:
type: string
Your Environment
1.0.20190915164430
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Command Line | Graphviz
If no input files are supplied, the program reads from stdin. For example: $ echo 'digraph { a -> b }' | dot...
Read more >Command-line application to compare graph (DOT/graphviz ...
This application compares two or more graph files (DOT or tabular). It prints a merged graph with different colors for nodes and edges...
Read more >Graphviz: How to go from .dot to a graph? - Stack Overflow
PostScript output seems always there. I am not sure if dot has PNG output by default. This may depend on how you have...
Read more >Encapsulating Data - Apple Developer
Figure 3-9 The correct relationship between a table view and its delegate ... application rather than a command line tool, you won't usually ......
Read more >NET Framework 4 migration issues - Microsoft Learn
NET generates the id attribute for HTML elements. ... mode can cause managed .aspx pages to stop working properly during the child request....
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
@itajaja With more recent versions of cwltool and schema-salad it seems your issue have been fixed!
Thanks for looking into this 🙏 what if the name is not set though?