[bugfix] Exception when pick.filter_id was None
This commit is contained in:
parent
796eea87a1
commit
534222e241
@ -1 +1 @@
|
||||
bb39-dirty
|
||||
796e-dirty
|
||||
|
@ -236,7 +236,10 @@ def picksdict_from_picks(evt):
|
||||
network = pick.waveform_id.network_code
|
||||
mpp = pick.time
|
||||
spe = pick.time_errors.uncertainty
|
||||
if pick.filter_id:
|
||||
filter_id = backtransformFilterString(str(pick.filter_id.id))
|
||||
else:
|
||||
filter_id = None
|
||||
try:
|
||||
picker = str(pick.method_id)
|
||||
if picker.startswith('smi:local/'):
|
||||
|
Loading…
Reference in New Issue
Block a user