Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.

Commit

Permalink
fix input_output_path duplicate issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinxin90 committed Dec 6, 2017
1 parent f2fe548 commit f979e7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/handlers/ConnectingPathHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ def post(self):
edges = []
for _edge in bt_explorer.temp_G.edges():
edges.append((_edge[0], _edge[1], find_edge_label(bt_explorer.temp_G, _edge[0], _edge[1])))
plotly_results = networkx_to_plotly(edges)
no_duplicate = [_item['preferred_name'] for _item in list(bt_explorer.registry.bioentity_info.values())] + list(bt_explorer.registry.endpoint_info.keys())
plotly_results = networkx_to_plotly(edges, duplicates_not_allowed=no_duplicate)
self.write(json.dumps({"plotly": plotly_results, "paths": paths}))


Expand Down

0 comments on commit f979e7d

Please sign in to comment.