From beccac62eead61e53cd12a9fe4797920de078b4e Mon Sep 17 00:00:00 2001 From: Cal Wing <20716204+calw20@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:34:29 +1000 Subject: [PATCH] remove error handling --- canny_shock_finder.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/canny_shock_finder.py b/canny_shock_finder.py index e9e316f..2d78492 100644 --- a/canny_shock_finder.py +++ b/canny_shock_finder.py @@ -475,10 +475,15 @@ def canny_shock_finder(time_list, pressure_list, sigma = 4, derivative_threshold ax.legend(loc = 'best') mplt.show() - except Exception as e: - print (e) - print ("There was an issue plotting the result.") - #mplt.close('all') + + finally: # Needed so the Try doesn't complain + pass + + # [TODO] Renable this + #except Exception as e: + # print (e) + # print ("There was an issue plotting the result.") + # #mplt.close('all') if not return_processing_lists: # just return the found arrival time/times