Skip to content

Commit

Permalink
Merge pull request OpenMS#58 from OpenMS/parse_error_out
Browse files Browse the repository at this point in the history
Print error info to stdout when we can't parse parameter
  • Loading branch information
axelwalter authored May 13, 2024
2 parents e2eaad3 + 8dd9a0c commit bbbd104
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/workflow/StreamlitUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,9 @@ def input_TOPP(
if i == num_cols:
i = 0
cols = st.columns(num_cols)
except:
except Exception as e:
cols[i].error(f"Error in parameter **{p['name']}**.")
print("Error parsing \""+ p['name'] + "\": " + str(e))

def input_python(
self,
Expand Down

0 comments on commit bbbd104

Please sign in to comment.