File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -396,12 +396,12 @@ def main():
396396 inputs = get_workflow_inputs (wf , dic_deps )
397397 outputs = get_workflow_outputs (wf , dic_deps )
398398 list_tables += inputs + outputs
399- nodes_in = " " .join (inputs )
400- nodes_out = " " .join (outputs )
399+ nodes_in = " " .join (inputs ). replace ( "/" , "_" )
400+ nodes_out = " " .join (outputs ). replace ( "/" , "_" )
401401 dot_deps += f" {{{ nodes_in } }} -> { node_wf } -> {{{ nodes_out } }}\n "
402402 list_tables = list (dict .fromkeys (list_tables )) # Remove duplicities
403403 for table in list_tables :
404- dot_tables += f" { table } \n "
404+ dot_tables += f' { table . replace ( "/" , "_" ) } [label=" { table } "] \n '
405405 dot_tables += " }\n "
406406 dot_workflows += " }\n "
407407 dot += dot_workflows + dot_tables + dot_deps
You can’t perform that action at this time.
0 commit comments