Additional screen output to inform the user about status of saving picks.
This commit is contained in:
parent
0691992850
commit
5564fb54dc
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user