[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:
|
except AttributeError as ae:
|
||||||
print(ae)
|
print(ae)
|
||||||
else:
|
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
|
Lwf = self.ztrace.stats.endtime - self.ztrace.stats.starttime
|
||||||
if Lwf < 0:
|
if Lwf < 0:
|
||||||
print('autopickstation: empty trace! Return!')
|
print('autopickstation: empty trace! Return!')
|
||||||
|
Loading…
Reference in New Issue
Block a user