From d849559140346d8ea6439d10296bc41609821ad7 Mon Sep 17 00:00:00 2001 From: TineClaeys Date: Wed, 20 Sep 2023 04:12:18 +0200 Subject: [PATCH] removed manual testing function --- pages/1_1. Mapping_local_metadata.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pages/1_1. Mapping_local_metadata.py b/pages/1_1. Mapping_local_metadata.py index 32d42fc..3e63b2a 100644 --- a/pages/1_1. Mapping_local_metadata.py +++ b/pages/1_1. Mapping_local_metadata.py @@ -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"] ) @@ -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 = [