diff --git a/TFinder-v1.py b/TFinder-v1.py index 04106c78..f93b6f32 100644 --- a/TFinder-v1.py +++ b/TFinder-v1.py @@ -128,6 +128,9 @@ def load_lottiefile(filepath: str): f" - TFinder on [Health Universe](https://www.healthuniverse.com/): [https://apps.healthuniverse.com/nhu-dxv-ktj](https://apps.healthuniverse.com/nhu-dxv-ktj)\n" f" - (BETA) TFinder: [https://tfinder-beta.streamlit.app/](https://tfinder-beta.streamlit.app/)\n") +if st.secrets['ncbi_error']: + st.error("⚠ NCBI server maintenance, problems and slowdowns may be observed") + if chosen_tab == HOME: home_page() @@ -258,7 +261,8 @@ def load_lottiefile(filepath: str): st.markdown( 'TFinder use [NCBI API](https://www.ncbi.nlm.nih.gov/books/NBK25497/#chapter2.Usage_Guidelines_and_Requiremen)' ': More information [NCBI Website and Data Usage Policies and Disclaimers](https://www.ncbi.nlm.nih.gov/home/about/policies/)') - # st.error("⚠ NCBI server maintenance, don't use Extraction tools") + if st.secrets['ncbi_error']: + st.error("⚠ NCBI server maintenance, problems and slowdowns may be observed") st.markdown("TFinder use [JASPAR API](https://doi.org/10.1093/bioinformatics/btx804)") st.markdown('') st.markdown(