From 864cb112bc34741859419a35a6bf4b5c053b8210 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Wed, 10 Jun 2015 15:47:40 +0200 Subject: [PATCH] usage changed due to release [1d70a23] --- pylot/core/read/io.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pylot/core/read/io.py b/pylot/core/read/io.py index 10a390ba..58a0b10b 100644 --- a/pylot/core/read/io.py +++ b/pylot/core/read/io.py @@ -118,13 +118,11 @@ def readPILOTEvent(phasfn=None, locfn=None, authority_id=None, **kwargs): phase, stations[n], wffn, authority_id) event.picks.append(pick) pickID = pick.get('id') - arrival = createArrival(eventDate, pickID, eventNum, pickcinfo, - phase, stations[n], authority_id) + arrival = createArrival(pickID, pickcinfo, phase) origin.arrivals.append(arrival) np += 1 - magnitude = createMagnitude(origin.get('id'), eventDate, loccinfo, - authority_id) + magnitude = createMagnitude(origin.get('id'), loccinfo) magnitude.mag = float(loc['Mnet']) magnitude.magnitude_type = 'Ml'