From ce75a82f5bdf081b5668ce362ad812ace97ca0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Tue, 2 Jun 2015 13:42:44 +0200 Subject: [PATCH] Some cosmetics. --- autoPyLoT.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/autoPyLoT.py b/autoPyLoT.py index 59aa53da..1249a18d 100755 --- a/autoPyLoT.py +++ b/autoPyLoT.py @@ -12,6 +12,7 @@ from pylot.core.util import _getVersionString from pylot.core.read import Data, AutoPickParameter from pylot.core.pick.run_autopicking import run_autopicking from pylot.core.util.structure import DATASTRUCTURE +import pdb __version__ = _getVersionString() @@ -77,10 +78,13 @@ def autoPyLoT(inputfile): #find corresponding streams statdat = wfdat.select(station=stationID) run_autopicking(statdat, parameter) + print '------------------------------------------' + print '-----Finished event %s!-----' % event + print '------------------------------------------' #for single event processing else: - data.setWFData(glob.glob(os.path.join(datapath, parameter.getParam('eventID'), '*'))) + data.setWFData(glob.glob(os.path.join(datapath, parameter.getParam('eventID'), 'ROTT*'))) print 'Working on event ', parameter.getParam('eventID') print data @@ -96,6 +100,9 @@ def autoPyLoT(inputfile): #find corresponding streams statdat = wfdat.select(station=stationID) run_autopicking(statdat, parameter) + print '------------------------------------------' + print '-------Finished event %s!-------' % parameter.getParam('eventID') + print '------------------------------------------' if __name__ == "__main__":