File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/python_workflow_definition Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ def write_workflow_json(wg: WorkGraph, file_name: str) -> dict:
109109 # if the from socket is the default result, we set it to None
110110 if link_data ["from_socket" ] == "result" :
111111 link_data ["from_socket" ] = None
112- link_data [TARGET_LABEL ] = node_name_mapping [link_data .pop ("to_node " )]
112+ link_data [TARGET_LABEL ] = node_name_mapping [link_data .pop ("to_task " )]
113113 link_data [TARGET_PORT_LABEL ] = link_data .pop ("to_socket" )
114- link_data [SOURCE_LABEL ] = node_name_mapping [link_data .pop ("from_node " )]
114+ link_data [SOURCE_LABEL ] = node_name_mapping [link_data .pop ("from_task " )]
115115 link_data [SOURCE_PORT_LABEL ] = link_data .pop ("from_socket" )
116116 data [EDGES_LABEL ].append (link_data )
117117
You can’t perform that action at this time.
0 commit comments