Skip to content

Commit

Permalink
Change removing highlight column
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbinBouwmeester committed Feb 22, 2024
1 parent 16eff48 commit 3212f96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webinterface/pages/DDA_Quant_ion.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,11 @@ def generate_results(
if not LOCAL_DEVELOPMENT:
submit_df = st.session_state[ALL_DATAPOINTS]
if "Highlight" in submit_df.columns:
submit_df.drop("Highlight", inplace=True)
# TODO it seems that pandas trips over this sometime, even though it is present...
try:
submit_df.drop("Highlight", inplace=True, axis=1)
except:
pass

pr_url = IonModule().clone_pr(
submit_df,
Expand Down

0 comments on commit 3212f96

Please sign in to comment.