maom commited on
Commit
ef710d0
·
verified ·
1 Parent(s): 6685cda

fix syntax

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