[bugfix] event_datapath not set if not obspyDMT
This commit is contained in:
parent
4ed8e54822
commit
5870843a03
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user