Spaces:
Sleeping
Sleeping
Erva Ulusoy
commited on
Commit
•
007151e
1
Parent(s):
0b35376
move disclaimer to sidebar
Browse files- Domain2GO.py +11 -8
Domain2GO.py
CHANGED
@@ -61,6 +61,17 @@ with st.sidebar:
|
|
61 |
with st.sidebar:
|
62 |
st.warning('Please enter your email and protein sequence first. If you have already entered your email and protein sequence, please check that your email is valid.')
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
if not submitted:
|
65 |
# on main page, write warning message if user has not submitted email and sequence
|
66 |
st.markdown("""
|
@@ -136,11 +147,3 @@ else:
|
|
136 |
# </div>
|
137 |
# """, unsafe_allow_html=True)
|
138 |
|
139 |
-
st.markdown("""
|
140 |
-
<div style="position: relative; width: 700px; height: 880px;">
|
141 |
-
<div style="position: absolute; bottom: -180px; padding:0px">
|
142 |
-
<p style="color:#b22d2a;font-size:15px;">Disclaimer</p>
|
143 |
-
<p style="color:#000000;font-size:14px;">This program is designed to generate predictions for a single protein due to the extended runtime of InterProScan. If you need predictions for multiple UniProtKB/Swiss-Prot proteins, we recommend utilizing our comprehensive protein function prediction dataset available in our <a href="https://github.com/HUBioDataLab/Domain2GO">Github repository</a>.</p>
|
144 |
-
</div>
|
145 |
-
</div>
|
146 |
-
""", unsafe_allow_html=True)
|
|
|
61 |
with st.sidebar:
|
62 |
st.warning('Please enter your email and protein sequence first. If you have already entered your email and protein sequence, please check that your email is valid.')
|
63 |
|
64 |
+
with st.sidebar:
|
65 |
+
st.markdown("""
|
66 |
+
<div style="position: relative; width: 300px; height: 500px;">
|
67 |
+
<div style="position: absolute; bottom: 0px; padding:0px">
|
68 |
+
<hr style="height:1px;border:none;color:#333;background-color:#333;" />
|
69 |
+
<p style="color:#b22d2a;font-size:15px;">Disclaimer</p>
|
70 |
+
<p style="color:#000000;font-size:14px;">This program is designed to generate predictions for a single protein due to the extended runtime of InterProScan. If you need predictions for multiple UniProtKB/Swiss-Prot proteins, we recommend utilizing our comprehensive protein function prediction dataset available in our <a href="https://github.com/HUBioDataLab/Domain2GO">Github repository</a>.</p>
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
""", unsafe_allow_html=True)
|
74 |
+
|
75 |
if not submitted:
|
76 |
# on main page, write warning message if user has not submitted email and sequence
|
77 |
st.markdown("""
|
|
|
147 |
# </div>
|
148 |
# """, unsafe_allow_html=True)
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|