From 68ef1276174a19bf08c5a069d819154ebeb017a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Tue, 27 Jun 2017 11:46:21 +0200 Subject: [PATCH] [Bugfix] Network code was missing. --- pylot/core/io/phases.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pylot/core/io/phases.py b/pylot/core/io/phases.py index e513f4b6..f737e630 100644 --- a/pylot/core/io/phases.py +++ b/pylot/core/io/phases.py @@ -838,9 +838,10 @@ def merge_picks(event, picks): err = pick.time_errors phase = pick.phase_hint station = pick.waveform_id.station_code + network = pick.waveform_id.network_code method = pick.method_id for p in event.picks: if p.waveform_id.station_code == station and p.phase_hint == phase: - p.time, p.time_errors, p.method_id = time, err, method - del time, err, phase, station, method + p.time, p.time_errors, p.waveform_id.network_code, p.method_id = time, err, network, method + del time, err, phase, station, network, method return event