Spaces:
Sleeping
Sleeping
Erva Ulusoy
commited on
Commit
•
c18585d
1
Parent(s):
effe2a1
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,8 @@ with pred_tab:
|
|
112 |
else:
|
113 |
with st.spinner('Generating function predictions...'):
|
114 |
cwd = os.getcwd()
|
115 |
-
mapping_path = "{}/Domain2GO/data".format(cwd.split("Domain2GO")[0])
|
|
|
116 |
pred_results = generate_function_predictions(st.session_state.domain_df, mapping_path)
|
117 |
pred_result_text = pred_results[0]
|
118 |
if pred_result_text == 'Function predictions found.':
|
|
|
112 |
else:
|
113 |
with st.spinner('Generating function predictions...'):
|
114 |
cwd = os.getcwd()
|
115 |
+
# mapping_path = "{}/Domain2GO/data".format(cwd.split("Domain2GO")[0])
|
116 |
+
mapping_path = './data'
|
117 |
pred_results = generate_function_predictions(st.session_state.domain_df, mapping_path)
|
118 |
pred_result_text = pred_results[0]
|
119 |
if pred_result_text == 'Function predictions found.':
|