Skip to content

Commit

Permalink
Remove -fractionation_status- and -tp_status- elements
Browse files Browse the repository at this point in the history
Closes #145.
  • Loading branch information
dweindl committed Feb 19, 2025
1 parent 3c2e0d3 commit be5cbff
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions src/ccompass/main_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,6 @@ def create_fractionation_tab(fract_paths: Sequence[Any]) -> sg.Tab:
button_color="darkgreen",
)
],
[
sg.Text(
"...ready!",
font=("Arial", 8),
size=(40, 1),
key="-fractionation_status-",
visible=True,
justification="center",
)
],
],
size=(260, 70),
),
Expand Down Expand Up @@ -326,16 +316,6 @@ def create_total_proteome_tab(tp_paths: Sequence[Any]) -> sg.Tab:
button_color="darkgreen",
)
],
[
sg.Text(
"...ready!",
font=("Arial", 8),
size=(40, 1),
key="-tp_status-",
visible=True,
justification="center",
)
],
],
size=(260, 70),
),
Expand Down Expand Up @@ -1810,15 +1790,6 @@ def fract_buttons(window: sg.Window, status: bool) -> None:
for button in inactive:
window[button].update(disabled=not status)

if status:
window["-fractionation_status-"].update(
value="done!", text_color="dark green"
)
else:
window["-fractionation_status-"].update(
value="...ready!", text_color="white"
)


def tp_buttons(window: sg.Window, status: bool) -> None:
active = [
Expand All @@ -1837,11 +1808,6 @@ def tp_buttons(window: sg.Window, status: bool) -> None:
for button in inactive:
window[button].update(disabled=not status)

if status:
window["-tp_status-"].update(value="done!", text_color="dark green")
else:
window["-tp_status-"].update(value="...ready!", text_color="white")


def fract_clearinput(window):
window["-fractionation_path-"].update(
Expand Down

0 comments on commit be5cbff

Please sign in to comment.