Umair Khan
commited on
Commit
·
39dda52
1
Parent(s):
078c56f
fix bug in recolor_umap
Browse files
app.py
CHANGED
|
@@ -228,7 +228,7 @@ def recolor_umap(obs_col, coords, h5ad_path):
|
|
| 228 |
return str(out_png.resolve())
|
| 229 |
if n_cat <= 1:
|
| 230 |
gr.Info(f"'{obs_col}' has a single category. Showing uncolored UMAP.")
|
| 231 |
-
out_png = draw_uncolored(f"{obs_col}: 1 category")
|
| 232 |
return str(out_png.resolve())
|
| 233 |
|
| 234 |
# draw with legend
|
|
|
|
| 228 |
return str(out_png.resolve())
|
| 229 |
if n_cat <= 1:
|
| 230 |
gr.Info(f"'{obs_col}' has a single category. Showing uncolored UMAP.")
|
| 231 |
+
out_png = draw_uncolored(coords, f"{obs_col}: 1 category")
|
| 232 |
return str(out_png.resolve())
|
| 233 |
|
| 234 |
# draw with legend
|