Roestlab / massdash

MassDash: A web-based dashboard for streamlined DIA-MS visualization, analysis, prototyping, and optimization
https://massdash.streamlit.app/
BSD 3-Clause "New" or "Revised" License
16 stars 3 forks source link

add: button to terminate massdash #128

Closed singjc closed 3 months ago

singjc commented 3 months ago

Description

Added exit button to close and terminate massdash process. This closes the opened massdash tab in the browser, and terminates the PID process of massdash.

This adds an additional dependency: pyautogui, for closing the tab.

image

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

GUI

Test Configuration:

Checklist:

Other

singjc commented 3 months ago

@irahorecka can you test this branch on macOS, just press the Exit button to see if it closes the tab and kills the process properly? I don't know if the pyautogui.hotkey('ctrl', 'w') will automatically translate the 'ctrl' to 'cmd' in Mac.