Skip to content

Commit e8af5fe

Browse files
committed
rearrange columns
1 parent 86d9327 commit e8af5fe

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/fasta_analyzer.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,22 +130,22 @@ def main():
130130

131131
# Summary metrics
132132
st.subheader("Summary Statistics")
133-
col1, col2, col3, col4 = st.columns(4)
133+
col1, _, col2, _, col3 = st.columns(5)
134134

135135
with col1:
136136
st.metric("Total Sequences", results["total_sequences"])
137137
with col2:
138-
st.metric("Total Residues", f"{results['length_stats']['total_residues']:,}")
139-
with col3:
140138
st.metric("Avg Length", f"{results['length_stats']['mean']:.1f}")
141-
with col4:
142-
st.metric("Median Length", results["length_stats"]["median"])
139+
with col3:
140+
st.metric("Total Residues", f"{results['length_stats']['total_residues']:,}")
143141

144-
col5, col6, col7, col8 = st.columns(4)
145-
with col5:
142+
col4, col5, col6, col7, col8 = st.columns(5)
143+
with col4:
146144
st.metric("Min Length", results["length_stats"]["min"])
147-
with col6:
145+
with col5:
148146
st.metric("25th Percentile", f"{q1:.1f}")
147+
with col6:
148+
st.metric("Median Length", results["length_stats"]["median"])
149149
with col7:
150150
st.metric("75th Percentile", f"{q3:.1f}")
151151
with col8:

0 commit comments

Comments
 (0)