Update src/streamlit_app.py
Browse files- src/streamlit_app.py +11 -11
src/streamlit_app.py
CHANGED
|
@@ -106,20 +106,20 @@ if ts_df.empty:
|
|
| 106 |
st.stop()
|
| 107 |
|
| 108 |
# ---------------------------------------------------
|
| 109 |
-
# Sidebar controls
|
| 110 |
# ---------------------------------------------------
|
| 111 |
-
st.sidebar.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
selected_name = st.sidebar.selectbox(
|
| 116 |
-
"Choose sample file",
|
| 117 |
-
ts_df["sample_name"].tolist(),
|
| 118 |
-
index=0
|
| 119 |
-
)
|
| 120 |
|
| 121 |
-
|
| 122 |
-
|
| 123 |
|
| 124 |
# ---------------------------------------------------
|
| 125 |
# Load selected sample once
|
|
|
|
| 106 |
st.stop()
|
| 107 |
|
| 108 |
# ---------------------------------------------------
|
| 109 |
+
# Sidebar controls (collapsible)
|
| 110 |
# ---------------------------------------------------
|
| 111 |
+
with st.sidebar.expander("EDA Controls", expanded=False):
|
| 112 |
+
selected_name = st.selectbox(
|
| 113 |
+
"Choose sample file",
|
| 114 |
+
ts_df["sample_name"].tolist(),
|
| 115 |
+
index=0
|
| 116 |
+
)
|
| 117 |
|
| 118 |
+
show_stats = st.checkbox("Show array statistics", value=False)
|
| 119 |
+
show_visualisation = st.checkbox("Display visualisation", value=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
+
# Optional: keep dataframe outside expander if you still want it
|
| 122 |
+
show_dataframe = st.sidebar.checkbox("Show dataframe", value=False)
|
| 123 |
|
| 124 |
# ---------------------------------------------------
|
| 125 |
# Load selected sample once
|