From 2460d3e9d619199b68abf72eb749ad263ebc151a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Fri, 18 Aug 2017 14:03:25 +0200 Subject: [PATCH] [Bugfix] "savepath" remained the same within multiple event processing, even if set to None (set savepath automatically to event path). station looses its attribute 'all'. --- autoPyLoT.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoPyLoT.py b/autoPyLoT.py index 9c9d9a03..21709260 100755 --- a/autoPyLoT.py +++ b/autoPyLoT.py @@ -210,6 +210,9 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even data.setEvtData(pylot_event) if fnames == 'None': data.setWFData(glob.glob(os.path.join(datapath, eventpath, '*'))) + station = 'all' + if savepath == None or savepath == 'None': + savepath = eventpath # the following is necessary because within # multiple event processing no event ID is provided # in autopylot.in