Update app.py
Browse files
app.py
CHANGED
@@ -69,6 +69,10 @@ def perform_blast_analysis(sequence):
|
|
69 |
st.write(f"**Potential Function:** {alignment.description}")
|
70 |
else:
|
71 |
st.write("No significant matches found in the database. This might be a unique protein sequence!")
|
|
|
|
|
|
|
|
|
72 |
|
73 |
def update(sequence, word1, word2, word3, sequence_length):
|
74 |
headers = {
|
|
|
69 |
st.write(f"**Potential Function:** {alignment.description}")
|
70 |
else:
|
71 |
st.write("No significant matches found in the database. This might be a unique protein sequence!")
|
72 |
+
|
73 |
+
except Exception as e:
|
74 |
+
st.error(f"An error occurred during protein analysis: {str(e)}")
|
75 |
+
st.write("Please try again later, BLAST servers could be experiencing a delay.")
|
76 |
|
77 |
def update(sequence, word1, word2, word3, sequence_length):
|
78 |
headers = {
|