Spaces:
Sleeping
Sleeping
fix layout
Browse files
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 =
|
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 +
|
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 |
|