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 15, 2024
1 parent 9b7f325 commit 498f910
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ def download_tutorial():
st.session_state.X['in_range'] = st.session_state.tr.in_range

if st.session_state.internal == 'on':
st.write('here I am')
for metab in np.unique(st.session_state.X.peak_label):
st.write(metab)
st.session_state.X.loc[st.session_state.X.peak_label == metab,'pred_conc'] = st.session_state.X.pred_conc[st.session_state.X.peak_label == metab] * \
st.session_state.internal_standard.internal_starndard[ st.session_state.internal_standard.peak_label == metab].iloc[0]

Expand Down

0 comments on commit 498f910

Please sign in to comment.