[bugfix] add default values when wadaticheck fails
Else plotting crashes due to unset variables
This commit is contained in:
parent
699575f9d5
commit
e6d5dccb74
@ -652,8 +652,10 @@ def wadaticheck(pickdic, dttolerance, iplot=0, fig_dict=None):
|
|||||||
print("wadatacheck: Skipped %d S pick(s)" % ibad)
|
print("wadatacheck: Skipped %d S pick(s)" % ibad)
|
||||||
else:
|
else:
|
||||||
print("###############################################")
|
print("###############################################")
|
||||||
print("wadatacheck: Not enough checked S-P times available!")
|
print("wadaticheck: Not enough checked S-P times available!")
|
||||||
print("Skip Wadati check!")
|
print("Skip Wadati check!")
|
||||||
|
wfitflag = 1
|
||||||
|
wdfit2 = None
|
||||||
|
|
||||||
checkedonsets = pickdic
|
checkedonsets = pickdic
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user