From a9f05d3572ff42b7e6848cd1c48739a54901eab5 Mon Sep 17 00:00:00 2001 From: marcel Date: Mon, 21 Aug 2017 10:28:47 +0200 Subject: [PATCH] [fixes #238] missing parenthesis in if statement --- pylot/core/io/phases.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/io/phases.py b/pylot/core/io/phases.py index b7e23837..c54c120a 100644 --- a/pylot/core/io/phases.py +++ b/pylot/core/io/phases.py @@ -865,8 +865,8 @@ def merge_picks(event, picks): if p.waveform_id.station_code == station\ and p.waveform_id.network_code == network\ and p.phase_hint == phase\ - and str(p.method_id) in str(method)\ - or str(method) in str(p.method_id): + and (str(p.method_id) in str(method)\ + or str(method) in str(p.method_id)): 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