Spaces:
Runtime error
Runtime error
dalexanderch
commited on
Commit
•
9967649
1
Parent(s):
38d614d
Upload app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def fn(glycan, model):
|
|
44 |
labels = {i:node_labels[i] for i in range(len(graph.nodes))}
|
45 |
graph = nx.relabel_nodes(graph, labels)
|
46 |
graph = nx.drawing.nx_pydot.to_pydot(graph)
|
47 |
-
graph.set_prog("
|
48 |
graph.write_png("graph.png")
|
49 |
# write_dot(graph, "graph.dot")
|
50 |
# graph=pgv.AGraph("graph.dot")
|
|
|
44 |
labels = {i:node_labels[i] for i in range(len(graph.nodes))}
|
45 |
graph = nx.relabel_nodes(graph, labels)
|
46 |
graph = nx.drawing.nx_pydot.to_pydot(graph)
|
47 |
+
graph.set_prog("dot")
|
48 |
graph.write_png("graph.png")
|
49 |
# write_dot(graph, "graph.dot")
|
50 |
# graph=pgv.AGraph("graph.dot")
|