Spaces:
Sleeping
Sleeping
fix syntax
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ for i in range(len(gene_ids)):
|
|
| 106 |
"position": {
|
| 107 |
"x" : i * 10,
|
| 108 |
"y" : i * 10}})
|
| 109 |
-
for i in neighbors.
|
| 110 |
edge = neigbors.iloc[i]
|
| 111 |
network_data.append({
|
| 112 |
"data" : {
|
|
@@ -126,7 +126,7 @@ with col3:
|
|
| 126 |
##########################################################
|
| 127 |
|
| 128 |
stylesheet = [
|
| 129 |
-
{"selector": "node", "style": {"width":
|
| 130 |
{"selector": "edge", "style": {"width": 10}},
|
| 131 |
]
|
| 132 |
|
|
|
|
| 106 |
"position": {
|
| 107 |
"x" : i * 10,
|
| 108 |
"y" : i * 10}})
|
| 109 |
+
for i in len(neighbors.index):
|
| 110 |
edge = neigbors.iloc[i]
|
| 111 |
network_data.append({
|
| 112 |
"data" : {
|
|
|
|
| 126 |
##########################################################
|
| 127 |
|
| 128 |
stylesheet = [
|
| 129 |
+
{"selector": "node", "style": {"width": 50, "height": 20, "shape": "rectangle"}},
|
| 130 |
{"selector": "edge", "style": {"width": 10}},
|
| 131 |
]
|
| 132 |
|