feature/port-to-py3 #11

Merged
marcel merged 59 commits from feature/port-to-py3 into develop 2022-03-21 15:30:06 +01:00
Showing only changes of commit b976ec6ab0 - Show all commits

View File

@ -474,13 +474,9 @@ class AutopickStation(object):
# TODO here the pickparams is modified, instead of a copy
self.pickparams["pstart"] = 0
if self.pickparams["use_taup"] is False or not self.origin or not self.metadata:
if self.pickparams["use_taup"] is False:
# correct user mistake where a relative cuttime is selected (pstart < 0) but use of taupy is disabled/ has
# not the required parameters
if not self.origin:
print('Requested use_taup but no origin given. Exit taupy.')
if not self.metadata:
print('Requested use_taup but no metadata given. Exit taupy.')
exit_taupy()
return