usage changed due to release [1d70a23]

This commit is contained in:
Sebastian Wehling-Benatelli 2015-06-10 15:47:40 +02:00
parent b3ea4229a4
commit 864cb112bc

View File

@ -118,13 +118,11 @@ def readPILOTEvent(phasfn=None, locfn=None, authority_id=None, **kwargs):
phase, stations[n], wffn, authority_id) phase, stations[n], wffn, authority_id)
event.picks.append(pick) event.picks.append(pick)
pickID = pick.get('id') pickID = pick.get('id')
arrival = createArrival(eventDate, pickID, eventNum, pickcinfo, arrival = createArrival(pickID, pickcinfo, phase)
phase, stations[n], authority_id)
origin.arrivals.append(arrival) origin.arrivals.append(arrival)
np += 1 np += 1
magnitude = createMagnitude(origin.get('id'), eventDate, loccinfo, magnitude = createMagnitude(origin.get('id'), loccinfo)
authority_id)
magnitude.mag = float(loc['Mnet']) magnitude.mag = float(loc['Mnet'])
magnitude.magnitude_type = 'Ml' magnitude.magnitude_type = 'Ml'