update github link
This commit is contained in:
parent
5ef427ec12
commit
494d281d61
12
PyLoT.py
12
PyLoT.py
@ -480,7 +480,7 @@ class MainWindow(QMainWindow):
|
|||||||
"automatic pick "
|
"automatic pick "
|
||||||
"data.", False)
|
"data.", False)
|
||||||
self.compare_action.setEnabled(False)
|
self.compare_action.setEnabled(False)
|
||||||
self.qualities_action = self.createAction(parent=self, text='Show pick qualitites...',
|
self.qualities_action = self.createAction(parent=self, text='Show pick qualities...',
|
||||||
slot=self.pickQualities, shortcut='Alt+Q',
|
slot=self.pickQualities, shortcut='Alt+Q',
|
||||||
icon=qualities_icon, tip='Histogram of pick qualities')
|
icon=qualities_icon, tip='Histogram of pick qualities')
|
||||||
self.qualities_action.setEnabled(False)
|
self.qualities_action.setEnabled(False)
|
||||||
@ -2861,7 +2861,9 @@ class MainWindow(QMainWindow):
|
|||||||
self.log_deleted_picks([deleted_pick])
|
self.log_deleted_picks([deleted_pick])
|
||||||
|
|
||||||
def log_deleted_picks(self, deleted_picks, event_path=None):
|
def log_deleted_picks(self, deleted_picks, event_path=None):
|
||||||
''' Log deleted picks to list self.deleted_picks '''
|
'''
|
||||||
|
Log deleted picks to list self.deleted_picks
|
||||||
|
'''
|
||||||
if not event_path:
|
if not event_path:
|
||||||
event_path = self.get_current_event_path()
|
event_path = self.get_current_event_path()
|
||||||
for deleted_pick in deleted_picks:
|
for deleted_pick in deleted_picks:
|
||||||
@ -2875,7 +2877,9 @@ class MainWindow(QMainWindow):
|
|||||||
self.deleted_picks[event_path].append(deleted_pick)
|
self.deleted_picks[event_path].append(deleted_pick)
|
||||||
|
|
||||||
def dump_deleted_picks(self, event_path):
|
def dump_deleted_picks(self, event_path):
|
||||||
''' Save deleted picks to json file for event in event_path. Load old file before and merge'''
|
'''
|
||||||
|
Save deleted picks to json file for event in event_path. Load old file before and merge
|
||||||
|
'''
|
||||||
try:
|
try:
|
||||||
deleted_picks_from_file = self.load_deleted_picks(event_path)
|
deleted_picks_from_file = self.load_deleted_picks(event_path)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
@ -3783,7 +3787,7 @@ class MainWindow(QMainWindow):
|
|||||||
def helpHelp(self):
|
def helpHelp(self):
|
||||||
if checkurl():
|
if checkurl():
|
||||||
form = HelpForm(self,
|
form = HelpForm(self,
|
||||||
'https://ariadne.geophysik.ruhr-uni-bochum.de/trac/PyLoT/wiki')
|
'https://github.com/seismology-RUB/PyLoT')
|
||||||
else:
|
else:
|
||||||
form = HelpForm(self, ':/help.html')
|
form = HelpForm(self, ':/help.html')
|
||||||
form.show()
|
form.show()
|
||||||
|
@ -78,7 +78,7 @@ defaults = {'rootpath': {'type': str,
|
|||||||
|
|
||||||
'vp': {'type': float,
|
'vp': {'type': float,
|
||||||
'tooltip': 'average P-wave velocity',
|
'tooltip': 'average P-wave velocity',
|
||||||
'value': 3530.,
|
'value': 3531.,
|
||||||
'min': 0.,
|
'min': 0.,
|
||||||
'max': np.inf,
|
'max': np.inf,
|
||||||
'namestring': 'P-velocity'},
|
'namestring': 'P-velocity'},
|
||||||
|
Loading…
Reference in New Issue
Block a user