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

Feature/tk filedialog #81

Closed singjc closed 6 months ago

singjc commented 6 months ago

Added a tkinter filedialog box for optional browsing of files instead of manually typing in the path. This will be useful for people who aren't too familiar with the terminal or how to get the path to a file.

Note: I use a tkinter filedialog box because streamlit does not have a local filedialog widget, only a fileupload widget, which copies the data to a tmp location which is not desireable for large mass spec files. Streamlit does this for security reasons because presumably you would not want direct access to a machines file structure for web based apps. However, for our case, we want access to the machines files to directly access them.

Example

image

singjc commented 6 months ago

Didn't realize we're only allowed one reviewer. But at @irahorecka @jcharkow if either of you wants to take a look.