wenjun99 commited on
Commit
aea317a
·
verified ·
1 Parent(s): 6aedc3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -98,7 +98,6 @@ with tab1:
98
  st.download_button("Download as CSV", df.to_csv(index=False), "text_31_binary_labels.csv", key="download_csv_tab1_31csv")
99
 
100
  ascending_headers = sorted(mutation_site_headers_actual)
101
- df_sorted = df[[str(h) for h in ascending_headers if str(h) in df.columns]]
102
  df_sorted = df[[str(h) for h in ascending_headers if str(h) in df.columns]].copy()
103
 
104
  if "3614" not in df_sorted.columns:
@@ -149,7 +148,7 @@ with tab1:
149
  # === Robot Preparation Script (Based on Ascending Order 3244 → 4882) ===
150
  st.subheader("Robot Preparation Script (Based on Ascending Order 3244 → 4882)")
151
 
152
- df_sorted_ascend = df_sorted.copy()
153
 
154
  # Only insert 'Sample' if it doesn't already exist
155
  if 'Sample' not in df_sorted_ascend.columns:
 
98
  st.download_button("Download as CSV", df.to_csv(index=False), "text_31_binary_labels.csv", key="download_csv_tab1_31csv")
99
 
100
  ascending_headers = sorted(mutation_site_headers_actual)
 
101
  df_sorted = df[[str(h) for h in ascending_headers if str(h) in df.columns]].copy()
102
 
103
  if "3614" not in df_sorted.columns:
 
148
  # === Robot Preparation Script (Based on Ascending Order 3244 → 4882) ===
149
  st.subheader("Robot Preparation Script (Based on Ascending Order 3244 → 4882)")
150
 
151
+ df_sorted_ascend =df[[str(h) for h in ascending_headers if str(h) in df.columns]].copy()
152
 
153
  # Only insert 'Sample' if it doesn't already exist
154
  if 'Sample' not in df_sorted_ascend.columns: