Skip to content

Commit

Permalink
Update streamlit_app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-ponce authored Feb 21, 2024
1 parent 2e3b4eb commit 2cf1fb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def download_tutorial():
if '.csv' in std_info.name:
st.session_state.std_information = pd.read_csv(std_info)
if '.xlsx' in std_info.name:
st.session_state.std_information = pd.read_excel(std_info)
st.session_state.std_information = pd.read_excel(std_info, index_col=None, header=None)
st.write(pd.read_excel(std_info))


Expand Down Expand Up @@ -207,7 +207,7 @@ def download_tutorial():
st.session_state.raw_results = pd.read_csv(results_file)
st.session_state.raw_results = st.session_state.raw_results.dropna(thresh = 1, axis = 0)
if '.xlsx' in results_file.name:
st.session_state.raw_results = pd.read_excel(results_file, index_col=None, header=None)
st.session_state.raw_results = pd.read_excel(results_file)
st.session_state.raw_results = st.session_state.raw_results.dropna(thresh = 1, axis = 0)

st.write('## Your peaklist data file:')
Expand Down

0 comments on commit 2cf1fb8

Please sign in to comment.