From 0a1d15c4294cf809c646eafb33d19b120c156457 Mon Sep 17 00:00:00 2001 From: Darius Arnold Date: Tue, 19 Jun 2018 11:24:47 +0200 Subject: [PATCH] Add PickingFailedException --- pylot/core/pick/autopick.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pylot/core/pick/autopick.py b/pylot/core/pick/autopick.py index 49ca9811..917cab57 100644 --- a/pylot/core/pick/autopick.py +++ b/pylot/core/pick/autopick.py @@ -198,6 +198,12 @@ class MissingTraceException(ValueError): """ pass +class PickingFailedException(Exception): + """ + Raised when picking fails due to missing values etc. + """ + pass + class AutopickStation(object): def __init__(self, wfstream, pickparam, verbose, iplot, fig_dict, metadata, origin):