Spaces:
Sleeping
Sleeping
Erva Ulusoy
commited on
Commit
·
8f00c3f
1
Parent(s):
dcd5e55
updated new protein warning message
Browse files- ProtHGT_app.py +6 -4
ProtHGT_app.py
CHANGED
|
@@ -120,11 +120,13 @@ with st.sidebar:
|
|
| 120 |
else:
|
| 121 |
selected_proteins = protein_list
|
| 122 |
st.write(f"Loaded {len(selected_proteins)} proteins")
|
| 123 |
-
|
| 124 |
if proteins_not_found:
|
| 125 |
-
st.
|
| 126 |
-
|
| 127 |
-
|
|
|
|
|
|
|
| 128 |
if selected_proteins:
|
| 129 |
# Option 1: Collapsible expander
|
| 130 |
with st.expander("View Selected Proteins"):
|
|
|
|
| 120 |
else:
|
| 121 |
selected_proteins = protein_list
|
| 122 |
st.write(f"Loaded {len(selected_proteins)} proteins")
|
| 123 |
+
|
| 124 |
if proteins_not_found:
|
| 125 |
+
st.warning(f"""
|
| 126 |
+
The following proteins were not found in our input knowledge graph and have been discarded: {', '.join(proteins_not_found)}.
|
| 127 |
+
Currently, our system can only generate predictions for proteins that are already included in our knowledge graph. **Real-time retrieval of relationship data from external source databases is not yet supported.**
|
| 128 |
+
We are actively working on integrating this capability in future updates. Stay tuned!
|
| 129 |
+
""")
|
| 130 |
if selected_proteins:
|
| 131 |
# Option 1: Collapsible expander
|
| 132 |
with st.expander("View Selected Proteins"):
|