Skip to content

Commit

Permalink
Print error info to stdout when we can't parse parameter
Browse files Browse the repository at this point in the history
Print some more info when we fail to parse a parameter out of a TOPP tool
  • Loading branch information
poshul authored May 8, 2024
1 parent ebe440b commit 8dd9a0c
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 8dd9a0c

Please sign in to comment.