From 81240a8ffe8f0bede3d80b70bf748ff49752bbb8 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 11 Aug 2021 16:18:41 +0200 Subject: [PATCH] [bugfix] also regarding #20 --- pylot/core/io/phases.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pylot/core/io/phases.py b/pylot/core/io/phases.py index a6329697..fb974770 100644 --- a/pylot/core/io/phases.py +++ b/pylot/core/io/phases.py @@ -252,8 +252,7 @@ def picksdict_from_picks(evt): if pick_method == 'None': pick_method = 'manual' try: - #onsets = picksdict[picker][station] - onsets = picksdict[station] + onsets = picksdict[pick_method][station] except KeyError as e: # print(e) onsets = {}