Spaces:
Build error
Build error
fix typo
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ except:
|
|
| 69 |
st.error(f"Unable to locate cnag_id for Gene ID 2: {gene_id_2}, it should be of the form 'CNAG_######'")
|
| 70 |
|
| 71 |
chart_data = pd.DataFrame({
|
| 72 |
-
"expression_1": np.log10(estimated_expression.loc[
|
| 73 |
"expression_2": np.log10(estimated_expression.loc[estimated_expression_index == cnag_id_2].to_numpy()[0] + 1),
|
| 74 |
"run_accession": estimated_expression.columns,
|
| 75 |
"run_accession_meta": estimated_expression_meta["run_accession"],
|
|
|
|
| 69 |
st.error(f"Unable to locate cnag_id for Gene ID 2: {gene_id_2}, it should be of the form 'CNAG_######'")
|
| 70 |
|
| 71 |
chart_data = pd.DataFrame({
|
| 72 |
+
"expression_1": np.log10(estimated_expression.loc[estimated_expression.index == cnag_id_1].to_numpy()[0] + 1),
|
| 73 |
"expression_2": np.log10(estimated_expression.loc[estimated_expression_index == cnag_id_2].to_numpy()[0] + 1),
|
| 74 |
"run_accession": estimated_expression.columns,
|
| 75 |
"run_accession_meta": estimated_expression_meta["run_accession"],
|