Update app.py
Browse files
app.py
CHANGED
|
@@ -70,9 +70,10 @@ def perform_blast_analysis(sequence):
|
|
| 70 |
st.write(f"**Potential Function:** {alignment.description}")
|
| 71 |
|
| 72 |
if hasattr(alignment, 'description') and alignment.description:
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
|
|
|
| 76 |
|
| 77 |
def update(sequence, word1, word2, word3, sequence_length):
|
| 78 |
headers = {
|
|
|
|
| 70 |
st.write(f"**Potential Function:** {alignment.description}")
|
| 71 |
|
| 72 |
if hasattr(alignment, 'description') and alignment.description:
|
| 73 |
+
|
| 74 |
+
st.write(f"**Potential Function:** {alignment.description}")
|
| 75 |
+
else:
|
| 76 |
+
st.write("No significant matches found in the database. This might be a unique protein sequence!")
|
| 77 |
|
| 78 |
def update(sequence, word1, word2, word3, sequence_length):
|
| 79 |
headers = {
|