bugfix: seismicshot dictionary for repick button was overwritten
This commit is contained in:
parent
2e45456a6e
commit
b700940f54
@ -34,6 +34,7 @@ class SeismicShot(object):
|
|||||||
self.snr = {}
|
self.snr = {}
|
||||||
self.snrthreshold = {}
|
self.snrthreshold = {}
|
||||||
self.timeArray = {}
|
self.timeArray = {}
|
||||||
|
self.traces4plot = {}
|
||||||
self.paras = {}
|
self.paras = {}
|
||||||
self.paras['shotname'] = obsfile
|
self.paras['shotname'] = obsfile
|
||||||
|
|
||||||
@ -635,16 +636,17 @@ class SeismicShot(object):
|
|||||||
button2 = Button(axb2, 'delete', color = 'green', hovercolor = 'grey')
|
button2 = Button(axb2, 'delete', color = 'green', hovercolor = 'grey')
|
||||||
button2.on_clicked(rmPick)
|
button2.on_clicked(rmPick)
|
||||||
|
|
||||||
self.traces4plot = {}
|
|
||||||
if traceID not in self.traces4plot.keys():
|
if traceID not in self.traces4plot.keys():
|
||||||
self.traces4plot[traceID] = {'fig': fig,
|
self.traces4plot[traceID] = {}
|
||||||
'ax1': ax1,
|
|
||||||
'ax2': ax2,
|
self.traces4plot[traceID] = {'fig': fig,
|
||||||
'axb1': axb1,
|
'ax1': ax1,
|
||||||
'axb2': axb2,
|
'ax2': ax2,
|
||||||
'button1': button1,
|
'axb1': axb1,
|
||||||
'button2': button2,
|
'axb2': axb2,
|
||||||
'cid': None}
|
'button1': button1,
|
||||||
|
'button2': button2,
|
||||||
|
'cid': None}
|
||||||
|
|
||||||
self._drawStream(traceID)
|
self._drawStream(traceID)
|
||||||
self._drawCFs(traceID, folm)
|
self._drawCFs(traceID, folm)
|
||||||
|
Loading…
Reference in New Issue
Block a user