Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -297,10 +297,10 @@ with tab3:
|
|
297 |
with tab4:
|
298 |
st.write("Upload an Editing Frequency CSV or enter manually:")
|
299 |
st.write("**Note:** Please upload CSV files **without column headers**, in ascending order from 3244 to 4882.")
|
300 |
-
|
301 |
|
302 |
-
if
|
303 |
-
ef_df = pd.read_csv(
|
304 |
ef_df.columns = [str(site) for site in sorted(mutation_site_headers_actual_3614)]
|
305 |
else:
|
306 |
ef_df = pd.DataFrame(columns=[str(site) for site in sorted(mutation_site_headers_actual_3614)])
|
|
|
297 |
with tab4:
|
298 |
st.write("Upload an Editing Frequency CSV or enter manually:")
|
299 |
st.write("**Note:** Please upload CSV files **without column headers**, in ascending order from 3244 to 4882.")
|
300 |
+
ef_file_2 = st.file_uploader("Upload EF CSV", type=["csv"], key="ef2")
|
301 |
|
302 |
+
if ef_file_2:
|
303 |
+
ef_df = pd.read_csv(ef_file_2, header=None)
|
304 |
ef_df.columns = [str(site) for site in sorted(mutation_site_headers_actual_3614)]
|
305 |
else:
|
306 |
ef_df = pd.DataFrame(columns=[str(site) for site in sorted(mutation_site_headers_actual_3614)])
|