[bugfix] locflag was set active when initialized in tune mode without metadata
This commit is contained in:
parent
f41a330606
commit
52f9e61c9f
@ -201,7 +201,7 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
|
||||
metadata = read_metadata(parameter.get('invdir'))
|
||||
print("Restitute data ...")
|
||||
corr_dat = restitute_data(wfdat.copy(), *metadata)
|
||||
if not corr_dat:
|
||||
if not corr_dat and locflag:
|
||||
locflag = 2
|
||||
print('Working on event %s. Stations: %s' % (event, station))
|
||||
print(wfdat)
|
||||
|
Loading…
Reference in New Issue
Block a user