From 5d076511ec23a6f037f31c722bd4527d024a55a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Wed, 16 Aug 2017 12:12:04 +0200 Subject: [PATCH] [Bugfix] Input are already picks, no more event object. --- pylot/core/pick/compare.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pylot/core/pick/compare.py b/pylot/core/pick/compare.py index 9d382254..a63d8e15 100644 --- a/pylot/core/pick/compare.py +++ b/pylot/core/pick/compare.py @@ -251,11 +251,7 @@ class PDFDictionary(object): @classmethod def from_quakeml(self, fn): - cat = read_events(fn) - if len(cat) > 1: - raise NotImplementedError('reading more than one event at the same ' - 'time is not implemented yet! Sorry!') - return PDFDictionary(picksdict_from_picks(cat[0])) # MP MP TODO: change function argument (auto/manu) + return PDFDictionary(fn) # LK TODO: check if stations are available with both automatic and manual picks def get_all(self, phase): rlist = list()