From 5564fb54dcbdc4e47277b2aa12c806c285054cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Thu, 29 Jun 2017 09:51:24 +0200 Subject: [PATCH] Additional screen output to inform the user about status of saving picks. --- pylot/core/io/data.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pylot/core/io/data.py b/pylot/core/io/data.py index 5dbab794..0bb22951 100644 --- a/pylot/core/io/data.py +++ b/pylot/core/io/data.py @@ -202,6 +202,10 @@ class Data(object): evtdata_copy.picks[k].method_id == 'auto': del evtdata_copy.picks[k] 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': try: evtdata_copy.write(fnout + fnext, format=evtformat)