-
Notifications
You must be signed in to change notification settings - Fork 10
/
app.py
29 lines (27 loc) · 1.44 KB
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import streamlit as st
from pathlib import Path
if __name__ == '__main__':
pages = {
"OpenMS Web App" : [
st.Page(Path("content", "quickstart.py"), title="Quickstart", icon="👋"),
st.Page(Path("content", "documentation.py"), title="Documentation", icon="📖"),
],
"TOPP Workflow Framework": [
st.Page(Path("content", "topp_workflow_file_upload.py"), title="File Upload", icon="📁"),
st.Page(Path("content", "topp_workflow_parameter.py"), title="Configure", icon="⚙️"),
st.Page(Path("content", "topp_workflow_execution.py"), title="Run", icon="🚀"),
st.Page(Path("content", "topp_workflow_results.py"), title="Results", icon="📊"),
],
"pyOpenMS Workflow" : [
st.Page(Path("content", "file_upload.py"), title="File Upload", icon="📂"),
st.Page(Path("content", "raw_data_viewer.py"), title="View MS data", icon="👀"),
st.Page(Path("content", "run_example_workflow.py"), title="Run Workflow", icon="⚙️"),
st.Page(Path("content", "download_section.py"), title="Download Results", icon="⬇️"),
],
"Others Topics": [
st.Page(Path("content", "simple_workflow.py"), title="Simple Workflow", icon="⚙️"),
st.Page(Path("content", "run_subprocess.py"), title="Run Subprocess", icon="🖥️"),
]
}
pg = st.navigation(pages)
pg.run()