[minor] code cleanup

This commit is contained in:
2017-08-15 09:49:10 +02:00
parent a9d06790d2
commit ff1ab722df
2 changed files with 0 additions and 13 deletions

View File

@@ -1941,11 +1941,6 @@ class MainWindow(QMainWindow):
else:
ax = self.getPlotWidget().axes
ylims = np.array([-.5, +.5]) + plotID
if not self.pg:
phase_col = {
'P': ('c', 'c--', 'b-', 'bv', 'b^', 'b'),
'S': ('m', 'm--', 'r-', 'rv', 'r^', 'r')
}
stat_picks = self.getPicks(type=picktype)[station]
stime = self.getStime()
@@ -1961,9 +1956,6 @@ class MainWindow(QMainWindow):
elif phase[0] == 'S':
quality = getQualityfromUncertainty(picks['spe'], self._inputs['timeerrorsS'])
if not self.pg:
colors = phase_col[phase[0].upper()]
mpp = picks['mpp'] - stime
if picks['epp'] and picks['lpp']:
epp = picks['epp'] - stime