From d43f35fb7fdfeb96b242b5a761d7cb9b476b8049 Mon Sep 17 00:00:00 2001 From: mikibonacci Date: Tue, 3 Dec 2024 18:04:04 +0000 Subject: [PATCH] Putting the model and widget in the results panel --- src/aiidalab_qe_vibroscopy/app/result/result.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/aiidalab_qe_vibroscopy/app/result/result.py b/src/aiidalab_qe_vibroscopy/app/result/result.py index 3826fe3..1e376c1 100644 --- a/src/aiidalab_qe_vibroscopy/app/result/result.py +++ b/src/aiidalab_qe_vibroscopy/app/result/result.py @@ -13,6 +13,13 @@ from aiidalab_qe_vibroscopy.app.widgets.phononwidget import PhononWidget from aiidalab_qe_vibroscopy.app.widgets.phononmodel import PhononModel +from aiidalab_qe_vibroscopy.app.widgets.euphonicwidget import ( + EuphonicSuperWidget as EuphonicWidget, +) +from aiidalab_qe_vibroscopy.app.widgets.euphonicmodel import ( + EuphonicBaseResultsModel as EuphonicModel, +) + class VibroResultsPanel(ResultsPanel[VibroResultsModel]): title = "Vibronic" @@ -69,8 +76,8 @@ def render(self): tab_data.append(("Dielectric Properties", dielectric_widget)) if self._model.needs_euphonic_tab(): - euphonic_model = DielectricModel() - euphonic_widget = DielectricWidget( + euphonic_model = EuphonicModel() + euphonic_widget = EuphonicWidget( model=euphonic_model, node=vibro_node, )