-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b16aa9
commit 107c9bc
Showing
3 changed files
with
76 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import streamlit as st | ||
from st_waveform import waveform_data | ||
from st_integrity import data_integrity | ||
import database_utils | ||
|
||
st.set_page_config(layout="wide") | ||
|
||
# All pages | ||
pages = { | ||
"Waveform Data": waveform_data, | ||
"Data integrity": data_integrity, | ||
} | ||
|
||
# sidebar | ||
sb = st.sidebar | ||
sb.title("Pages") | ||
selection = sb.selectbox("Go to", list(pages.keys())) | ||
sb.write(f"Schema: {database_utils.database_schema}") | ||
|
||
# Render the selected page | ||
page = pages[selection] | ||
page() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import streamlit as st | ||
|
||
|
||
def data_integrity(): | ||
st.title("Data integrity") | ||
st.write("Gaps, completeness etc.") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters