further refinedment of the daily qa ui
@@ -220,6 +220,7 @@ def run_calculation(
except FileNotFoundError:
previously_calculated_results = None
+ if not quiet:
st.sidebar.write("## Progress")
progress_bar = st.sidebar.progress(0)
status_text = st.sidebar.empty()
@@ -341,12 +342,15 @@ def run_calculation(
for _, item in treatment_chart_bucket[port].items():
item.add_rows(table_filtered_by_port)
except KeyError:
+ if not quiet:
st.write(f"### Treatment: `{treatment}` | Port: `{port}`")
+
port_chart_bucket = _altair.build_both_axis_altair_charts(
table_filtered_by_port, plot_x_axis, quiet
)
treatment_chart_bucket[port] = port_chart_bucket
+ if not quiet:
ratio_complete = (progress_index + 1) / total_files
progress_bar.progress(ratio_complete)
