[bugfix] save Event before tarting tuneAutopicker (else source information might not be accessible to autoPyLoT)
This commit is contained in:
parent
22e5de194e
commit
2c07dd63b8
@ -3422,6 +3422,8 @@ class TuneAutopicker(QWidget):
|
|||||||
'fig_dict': self.fig_dict,
|
'fig_dict': self.fig_dict,
|
||||||
'savexml': False,
|
'savexml': False,
|
||||||
'obspyDMT_wfpath': wfpath}
|
'obspyDMT_wfpath': wfpath}
|
||||||
|
event = self.get_current_event()
|
||||||
|
self.parent().saveData(event, event.path, '.xml')
|
||||||
for key in self.fig_dict.keys():
|
for key in self.fig_dict.keys():
|
||||||
if not key == 'plot_style':
|
if not key == 'plot_style':
|
||||||
self.fig_dict[key].clear()
|
self.fig_dict[key].clear()
|
||||||
|
Loading…
Reference in New Issue
Block a user