maom commited on
Commit
e591a2e
·
verified ·
1 Parent(s): 9f238e4

fix syntax

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.shape()[0]:
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": 20, "height": 20, "shape": "rectangle"}},
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