maom commited on
Commit
b092f6a
·
verified ·
1 Parent(s): 08d5702

fix layout

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,7 +60,7 @@ with col1:
60
  input_gene_ids = st.text_area(
61
  label = "Gene IDs",
62
  value = f"{input_gene_ids}",
63
- height = 400,
64
  help = "TGME49 Gene IDs e.g. TGME49_231630")
65
 
66
 
@@ -190,7 +190,7 @@ for i in range(len(node_info.index)):
190
  layout_y = layout[node["gene_index"]][1] * 600 + 1500/2
191
  else:
192
  layout_x = (singleton_index % 8) * 150 + 100
193
- layout_y = np.floor(singleton_index / 8) * 50 + 200
194
  singleton_index += 1
195
 
196
 
 
60
  input_gene_ids = st.text_area(
61
  label = "Gene IDs",
62
  value = f"{input_gene_ids}",
63
+ height = 150,
64
  help = "TGME49 Gene IDs e.g. TGME49_231630")
65
 
66
 
 
190
  layout_y = layout[node["gene_index"]][1] * 600 + 1500/2
191
  else:
192
  layout_x = (singleton_index % 8) * 150 + 100
193
+ layout_y = np.floor(singleton_index / 8) * 50 + 30
194
  singleton_index += 1
195
 
196