Closed
Description
I think the line ~801 in util.py should be something like this:
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.
Edit: removed last part of my comment.