Skip to content

Commit 2800f90

Browse files
committed
fixed dropdown menu error
1 parent d475b32 commit 2800f90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

COPAL_gui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def input_frame(master):
527527
get_file_button.grid(row = 1, column = 4, padx = 4, sticky = tk.W)
528528

529529
# choose filetype dropdown menu
530-
file_type_dropdown = ttk.OptionMenu(master, file_type,"excel", "csv del ';' dec ','",
530+
file_type_dropdown = ttk.OptionMenu(master, file_type,"excel","excel", "csv del ';' dec ','",
531531
"csv del ',' dec '.'", "tsv del '\\t' dec ','",
532532
"tsv del '\\t' dec '.'")
533533
file_type_dropdown.grid(row = 1, column = 5, sticky = tk.EW)
@@ -621,7 +621,7 @@ def output_options_frame(master):
621621

622622
# data normalisation drop-down
623623
normalisation_label = tk.Label(master, text = "data normalisation:").grid(sticky = tk.E, pady = 5)
624-
normalisation_dropdown = ttk.OptionMenu(master, normalisation_type, "None", "Using all Proteins", "Using subset from Column", "Using subset from File")
624+
normalisation_dropdown = ttk.OptionMenu(master, normalisation_type, "None","None", "Using all Proteins", "Using subset from Column", "Using subset from File")
625625
normalisation_dropdown.grid(row = 3, column = 1, columnspan = 2, sticky = tk.EW)
626626

627627
# norm_col label and entry

0 commit comments

Comments
 (0)