[remove] Redundant checks for missing waveform data

Missing waveform data is now handled before picking starts, so it is not necessary to check during picking.
This commit is contained in:
Darius Arnold 2018-07-20 14:50:27 +02:00
parent 61b14dc770
commit 7fe5d0f7a3

View File

@ -571,7 +571,7 @@ class AutopickStation(object):
except PickingFailedException as pfe:
print(pfe)
if self.estream is not None and self.nstream is not None and len(self.estream) > 0 and len(self.nstream) > 0 and self.p_results.Pweight is not None and self.p_results.Pweight < 4:
if self.p_results.Pweight is not None and self.p_results.Pweight < 4:
try:
self.pick_s_phase()
except MissingTraceException as mte: