[bugfix] Spick quality check doing random stuff caused by copy paste errors

This commit is contained in:
Marcel Paffrath 2018-07-16 11:07:47 +02:00
parent ad686d42db
commit 0e70520a78

View File

@ -877,7 +877,7 @@ def autopickstation(wfstream, pickparam, verbose=False,
Sweight = 0
elif timeerrorsS[0] < Serror <= timeerrorsS[1]:
Sweight = 1
elif Perror > timeerrorsS[1] and Serror <= timeerrorsS[2]:
elif timeerrorsS[1] < Serror <= timeerrorsS[2]:
Sweight = 2
elif timeerrorsS[2] < Serror <= timeerrorsS[3]:
Sweight = 3