Chris fix error handle
This commit is contained in:
parent
cf2c826226
commit
fe960d1dea
@ -476,7 +476,7 @@ def canny_shock_finder(time_list, pressure_list, sigma = 4, derivative_threshold
|
|||||||
|
|
||||||
mplt.show()
|
mplt.show()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print ("{0}: {1}".format(type(e).__name__, e.message))
|
print (e)
|
||||||
print ("There was an issue plotting the result.")
|
print ("There was an issue plotting the result.")
|
||||||
mplt.close('all')
|
mplt.close('all')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user