[bugfix] just parse filter options if available
This commit is contained in:
parent
9632ecf41f
commit
d953609419
@ -942,7 +942,8 @@ class PickDlg(QDialog):
|
|||||||
|
|
||||||
# copy and filter data for earliest and latest possible picks
|
# copy and filter data for earliest and latest possible picks
|
||||||
wfdata = self.getWFData().copy().select(channel=channel)
|
wfdata = self.getWFData().copy().select(channel=channel)
|
||||||
wfdata.filter(**filteroptions)
|
if filteroptions:
|
||||||
|
wfdata.filter(**filteroptions)
|
||||||
|
|
||||||
# get earliest and latest possible pick and symmetric pick error
|
# get earliest and latest possible pick and symmetric pick error
|
||||||
[epp, lpp, spe] = earllatepicker(wfdata, 1.5, (5., .5, 2.), pick)
|
[epp, lpp, spe] = earllatepicker(wfdata, 1.5, (5., .5, 2.), pick)
|
||||||
|
Loading…
Reference in New Issue
Block a user