From 040c21dc130cb6a8e6e6f48f47dbd67eb689f952 Mon Sep 17 00:00:00 2001 From: Sebastianw Wehling-Benatelli Date: Tue, 29 Mar 2016 08:47:03 +0200 Subject: [PATCH] [adresses #190] read information on the picker if available --- QtPyLoT.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/QtPyLoT.py b/QtPyLoT.py index 3203d1c6..2a4f336b 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -746,6 +746,10 @@ class MainWindow(QMainWindow): phase['epp'] = epp phase['lpp'] = lpp phase['spe'] = spe + try: + phase['picker'] = str(pick.method_id).split('/')[1] + except IndexError: + pass onsets[pick.phase_hint] = phase.copy() picks[station] = onsets.copy()