Skip to content

Commit

Permalink
removed manual testing function
Browse files Browse the repository at this point in the history
  • Loading branch information
TineClaeys committed Sep 20, 2023
1 parent d3d5849 commit d849559
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pages/1_1. Mapping_local_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
download = st.download_button("Press to download SDRF file",ParsingModule.convert_df(template_df), "intermediate_SDRF.sdrf.tsv", help="download your SDRF file")

# Ask the user to upload their own metadata file and to map it to the columns of the template file
test = st.checkbox('Test manual')
metadata_sheet = st.file_uploader(
"Upload your local metadata file (.csv, .tsv or .xls)", type=["csv", "tsv", "xlsx"]
)
Expand All @@ -65,10 +64,7 @@
"There is a mismatch in the number of uploaded files and the number of files in the metadata sheet",
icon="🚨",
)
if test:
st.write('**Test mode**')
st.session_state["template_df"] = metadata_df
st.dataframe(template_df)


meta_columns = list(metadata_df.columns)
template_columns = [
Expand Down

0 comments on commit d849559

Please sign in to comment.