Skip to content

Commit d3d5849

Browse files
committed
species search and type fixed
1 parent 5b53cc3 commit d3d5849

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ParsingModule.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def autocomplete_species_search(taxum_list, search_term):
391391
use_exact_match = st.checkbox("Use exact match", key=f"exact_{search_term}")
392392
if use_exact_match:
393393
return exact_match[0]
394-
# if length is between 0 and 250, display the options
394+
# if length is between 0 and 500, display the options
395395
if len(filtered_options) > 0 and len(filtered_options) < 500:
396396
with col1:
397397
selected_options = st.multiselect("Some options closely matching your search time could be found", filtered_options)
@@ -403,6 +403,6 @@ def autocomplete_species_search(taxum_list, search_term):
403403
if use_options:
404404
return selected_options
405405
if len(filtered_options) > 500:
406-
st.write("Too many closely related options to display. Please refine your search.")
406+
st.write("Too many closely related options to display (>500). Please refine your search.")
407407
if len(filtered_options) == 0:
408408
st.write("No options found. Please refine your search.")

pages/3_3. Required_columns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def organism_selection(species):
208208
st.subheader("Input the cell line of your sample if one was used")
209209
all_cellline = data_dict["all_cell_line_elements"]
210210
cellline_nodes = data_dict["cell_line_nodes"]
211-
df = ParsingModule.multiple_ontology_tree(selection, all_cellline, cellline_nodes, template_Fdf,multiple_in_one=True)
211+
df = ParsingModule.multiple_ontology_tree(selection, all_cellline, cellline_nodes, template_df,multiple_in_one=True)
212212
update_session_state(df)
213213

214214
if selection == "comment[cleavage agent details]":

0 commit comments

Comments
 (0)