Spaces:
Sleeping
Sleeping
Commit
•
11a093e
1
Parent(s):
4b34829
Update extract_abs.py
Browse files- extract_abs.py +1 -3
extract_abs.py
CHANGED
@@ -332,9 +332,7 @@ def streamlit_extraction(search_term:Union[int,str], maxResults:int, filtering:s
|
|
332 |
|
333 |
sankey_data = (found, relevant, epidemiologic)
|
334 |
#Export the name and GARD ID to the ap for better integration on page.
|
335 |
-
name = search_term_list[-1]
|
336 |
-
#Capitalize the first letter in the disease name
|
337 |
-
name[0] = name[0].upper()
|
338 |
name_gardID = (name, GARD_dict[search_term_list[-1]])
|
339 |
|
340 |
return results.sort_values('PROB_OF_EPI', ascending=False), sankey_data, name_gardID
|
|
|
332 |
|
333 |
sankey_data = (found, relevant, epidemiologic)
|
334 |
#Export the name and GARD ID to the ap for better integration on page.
|
335 |
+
name = search_term_list[-1].capitalize()
|
|
|
|
|
336 |
name_gardID = (name, GARD_dict[search_term_list[-1]])
|
337 |
|
338 |
return results.sort_values('PROB_OF_EPI', ascending=False), sankey_data, name_gardID
|