Marginal changes.
This commit is contained in:
parent
021cb873ae
commit
43646e8e63
@ -213,7 +213,6 @@ def autoPyLoT(inputfile):
|
||||
else:
|
||||
# get theoretical P-onset times from NLLoc-location file
|
||||
locsearch = '%s/loc/%s.????????.??????.grid?.loc.hyp' % (nllocroot, nllocout)
|
||||
nllocfile = max(glob.glob(locsearch), key=os.path.getctime)
|
||||
if len(glob.glob(locsearch)) > 0:
|
||||
# get latest file if several are available
|
||||
nllocfile = max(glob.glob(locsearch), key=os.path.getctime)
|
||||
|
Loading…
x
Reference in New Issue
Block a user