[new] started to incorporate NLLoc into manualPyLoT

This commit is contained in:
Sebastian Wehling-Benatelli 2015-11-13 14:05:29 +01:00
parent d933c30148
commit 69011f13ac

View File

@ -41,6 +41,7 @@ from obspy import UTCDateTime, readEvents
from pylot.core.read.data import Data
from pylot.core.read.inputs import FilterOptions, AutoPickParameter
from pylot.core.pick.autopick import autopickevent
from pylot.core.loc.nll import locate as locateNll
from pylot.core.util.defaults import FILTERDEFAULTS
from pylot.core.util.errors import FormatError, DatastructureError,\
OverwriteError
@ -54,6 +55,7 @@ from pylot.core.util.thread import AutoPickThread
from pylot.core.util.version import get_git_version as _getVersionString
import icons_rc
locateTool = dict(nll=locateNll)
class MainWindow(QMainWindow):
__version__ = _getVersionString()
@ -765,6 +767,11 @@ class MainWindow(QMainWindow):
self.draw()
def locateEvent(self):
settings = QSettings()
loctool = settings.value("loc/tool", "nll")
extlocpath = settings.value("%s/binPath".format(loctool), None)
locroot = settings.value("%s/rootPath".format(loctool), None)
if extlocpath is None or locroot is None:
pass
def check4Loc(self):