Additional screen output to inform the user about status of saving picks.

This commit is contained in:
Ludger Küperkoch 2017-06-29 09:51:24 +02:00
parent 0691992850
commit 5564fb54dc

View File

@ -202,6 +202,10 @@ class Data(object):
evtdata_copy.picks[k].method_id == 'auto': evtdata_copy.picks[k].method_id == 'auto':
del evtdata_copy.picks[k] del evtdata_copy.picks[k]
break break
lendiff = len(evtdata_org.picks) - len(evtdata_copy.picks)
if lendiff is not 0:
print("Manual as well as automatic picks available. Prefered the {} manual ones!".format(lendiff))
if fnext == '.obs': if fnext == '.obs':
try: try:
evtdata_copy.write(fnout + fnext, format=evtformat) evtdata_copy.write(fnout + fnext, format=evtformat)