Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
44cf0b2
1
Parent(s):
0743783
Update ASCARIS.py
Browse files- ASCARIS.py +5 -5
ASCARIS.py
CHANGED
@@ -37,8 +37,8 @@ st.write('')
|
|
37 |
st.write('')
|
38 |
|
39 |
with st.form('mform', clear_on_submit=False):
|
40 |
-
source = st.selectbox('Select the protein structure resource (1: PDB-SwissModel-Modbase, 2: AlphaFold)',[1,2])
|
41 |
-
|
42 |
impute = st.selectbox('Imputation',[True, False])
|
43 |
input_data = st.text_input('Enter SAV data points (Example: Q00889-H-85-D, or Q00889-H-85-D,Q16363-Y-498-H)')
|
44 |
|
@@ -58,14 +58,14 @@ with st.form('mform', clear_on_submit=False):
|
|
58 |
#args = parser.parse_args()
|
59 |
|
60 |
input_set = input_data
|
61 |
-
|
62 |
impute = impute
|
63 |
submitted = st.form_submit_button(label="Submit", help=None, on_click=None, args=None, kwargs=None, type="secondary", disabled=False, use_container_width=False)
|
64 |
print('*****************************************')
|
65 |
print('Feature vector generation is in progress. \nPlease check log file for updates..')
|
66 |
print('*****************************************')
|
67 |
-
|
68 |
-
mode = int(source)
|
69 |
|
70 |
selected_df = pd.DataFrame()
|
71 |
st.write('The online tool may be slow, especially while processing multiple SAVs, please consider using the local programmatic version at https://github.com/HUBioDataLab/ASCARIS/')
|
|
|
37 |
st.write('')
|
38 |
|
39 |
with st.form('mform', clear_on_submit=False):
|
40 |
+
###source = st.selectbox('Select the protein structure resource (1: PDB-SwissModel-Modbase, 2: AlphaFold)',[1,2])
|
41 |
+
source = 1
|
42 |
impute = st.selectbox('Imputation',[True, False])
|
43 |
input_data = st.text_input('Enter SAV data points (Example: Q00889-H-85-D, or Q00889-H-85-D,Q16363-Y-498-H)')
|
44 |
|
|
|
58 |
#args = parser.parse_args()
|
59 |
|
60 |
input_set = input_data
|
61 |
+
mode = 1###
|
62 |
impute = impute
|
63 |
submitted = st.form_submit_button(label="Submit", help=None, on_click=None, args=None, kwargs=None, type="secondary", disabled=False, use_container_width=False)
|
64 |
print('*****************************************')
|
65 |
print('Feature vector generation is in progress. \nPlease check log file for updates..')
|
66 |
print('*****************************************')
|
67 |
+
mode = int(mode)
|
68 |
+
###mode = int(source)
|
69 |
|
70 |
selected_df = pd.DataFrame()
|
71 |
st.write('The online tool may be slow, especially while processing multiple SAVs, please consider using the local programmatic version at https://github.com/HUBioDataLab/ASCARIS/')
|