[bugfix] wrong variable used during calculating length of waveform
This commit is contained in:
parent
b0749e0ddc
commit
629bae63e2
@ -405,7 +405,7 @@ class AutopickStation(object):
|
||||
except AttributeError as ae:
|
||||
print(ae)
|
||||
else:
|
||||
Lc = self.p_params.pstop - self.p_params.pstop
|
||||
Lc = self.p_params.pstop - self.p_params.pstart
|
||||
Lwf = self.ztrace.stats.endtime - self.ztrace.stats.starttime
|
||||
if Lwf < 0:
|
||||
print('autopickstation: empty trace! Return!')
|
||||
|
Loading…
Reference in New Issue
Block a user