[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'.
This commit is contained in:
parent
4b01c7a28b
commit
2460d3e9d6
@ -210,6 +210,9 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
|
|||||||
data.setEvtData(pylot_event)
|
data.setEvtData(pylot_event)
|
||||||
if fnames == 'None':
|
if fnames == 'None':
|
||||||
data.setWFData(glob.glob(os.path.join(datapath, eventpath, '*')))
|
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
|
# the following is necessary because within
|
||||||
# multiple event processing no event ID is provided
|
# multiple event processing no event ID is provided
|
||||||
# in autopylot.in
|
# in autopylot.in
|
||||||
|
Loading…
Reference in New Issue
Block a user