From 8dd9a0c4fabb6f50146592ef554256ae5eaa9e67 Mon Sep 17 00:00:00 2001 From: Samuel Wein Date: Wed, 8 May 2024 14:36:03 +0200 Subject: [PATCH] Print error info to stdout when we can't parse parameter Print some more info when we fail to parse a parameter out of a TOPP tool --- src/workflow/StreamlitUI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/workflow/StreamlitUI.py b/src/workflow/StreamlitUI.py index 2124f8fe..de266740 100644 --- a/src/workflow/StreamlitUI.py +++ b/src/workflow/StreamlitUI.py @@ -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,