[bugfix] event_datapath not set if not obspyDMT

This commit is contained in:
Marcel Paffrath 2018-06-28 10:31:48 +02:00
parent 4ed8e54822
commit 5870843a03

View File

@ -229,8 +229,7 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
glocflag = locflag glocflag = locflag
for eventpath in events: for eventpath in events:
evID = os.path.split(eventpath)[-1] evID = os.path.split(eventpath)[-1]
if wfpath_extension: event_datapath = os.path.join(eventpath, wfpath_extension)
event_datapath = os.path.join(eventpath, wfpath_extension)
fext = '.xml' fext = '.xml'
filename = os.path.join(eventpath, 'PyLoT_' + evID + fext) filename = os.path.join(eventpath, 'PyLoT_' + evID + fext)
try: try: