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
In the examples of visualization in Jupyter, the code crash here:
cytograph = cytoscapegraph(graph, onto=onto, infobox='right')
In the function cytoscapegraph, the graph is explored to go through the edges list:
data = cytoscape_data(pydot_graph)["elements"]
for datum in data["edges"]:
datum["data"]["label"]
There is no test that a key "label" is present.
Some of edges do not have label: {'data': {'arrowhead': 'empty', 'source': 'SINTEFPerson', 'target': 'Person', 'key': 0}}
A fix is to make a test if "label" in datum["data"]: and ignore all the edges without label
The text was updated successfully, but these errors were encountered:
In the examples of visualization in Jupyter, the code crash here:
cytograph = cytoscapegraph(graph, onto=onto, infobox='right')
In the function cytoscapegraph, the graph is explored to go through the edges list:
data = cytoscape_data(pydot_graph)["elements"]
for datum in data["edges"]:
datum["data"]["label"]
There is no test that a key "label" is present.
Some of edges do not have label: {'data': {'arrowhead': 'empty', 'source': 'SINTEFPerson', 'target': 'Person', 'key': 0}}
A fix is to make a test if "label" in datum["data"]: and ignore all the edges without label
The text was updated successfully, but these errors were encountered: