You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for node in graph_in.nodes():
for src_id, edge_data in list(old_edge_dict.items()):
if node.itername.startswith(src_id + '.'): # <-- add '.' to src_id
expansions[src_id].append(node)
For example, if the node "input" feeds into "input_files", the "input_files" can be included if you just test for node.itername.startswith(src_id). This change would prevent "input_files" from being included.