[bugfix] automatic data with the S-P time saved in the pickdict caused Exception in the ProbabilityDensityFunction constructor

This commit is contained in:
Sebastian Wehling-Benatelli 2016-06-10 09:03:16 +02:00
parent 14cd175297
commit be326cba7b

View File

@ -270,6 +270,8 @@ class PDFDictionary(object):
for station, phases in pdf_picks.items():
for phase, values in phases.items():
if phase not in 'PS':
continue
phases[phase] = ProbabilityDensityFunction.from_pick(
values['epp'],
values['mpp'],