[refs #137] some improvements in autoPyLoT and ongoing work in the QtPyLoT NLL implementation

This commit is contained in:
2016-08-25 21:32:41 +02:00
parent e53dd99d75
commit b29c7068e3
3 changed files with 34 additions and 20 deletions

View File

@@ -28,7 +28,7 @@ def export(picks, fnout):
writephases(picks, 'NLLoc', fnout)
def modifyInputFile(ctrfn, root, nllocoutn, phasefn, tttn):
def modify_inputs(ctrfn, root, nllocoutn, phasefn, tttn):
'''
:param ctrfn: name of NLLoc-control file
:type: str
@@ -82,7 +82,7 @@ def locate(fnin):
try:
runProgram(exe_path, fnin)
except subprocess.CalledProcessError as e:
print(e.output)
raise RuntimeError(e.output)
def readLocation(fn):