remove error handling
This commit is contained in:
		@@ -475,10 +475,15 @@ def canny_shock_finder(time_list, pressure_list, sigma = 4, derivative_threshold
 | 
				
			|||||||
                ax.legend(loc = 'best')
 | 
					                ax.legend(loc = 'best')
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            mplt.show()
 | 
					            mplt.show()
 | 
				
			||||||
        except Exception as e:
 | 
					        
 | 
				
			||||||
            print (e)
 | 
					        finally: # Needed so the Try doesn't complain
 | 
				
			||||||
            print ("There was an issue plotting the result.")
 | 
					            pass
 | 
				
			||||||
            #mplt.close('all')
 | 
					        
 | 
				
			||||||
 | 
					        # [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:
 | 
					    if not return_processing_lists:
 | 
				
			||||||
        # just return the found arrival time/times
 | 
					        # just return the found arrival time/times
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user