diff --git a/src/aiidalab_qe/plugins/bands/result/__init__.py b/src/aiidalab_qe/plugins/bands/result/__init__.py deleted file mode 100644 index 6d4e06a46..000000000 --- a/src/aiidalab_qe/plugins/bands/result/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -from .model import BandsResultsModel -from .result import BandsResultsPanel - -__all__ = [ - "BandsResultsModel", - "BandsResultsPanel", -] diff --git a/src/aiidalab_qe/plugins/bands/result/model.py b/src/aiidalab_qe/plugins/bands/result/model.py deleted file mode 100644 index 9124197a7..000000000 --- a/src/aiidalab_qe/plugins/bands/result/model.py +++ /dev/null @@ -1,8 +0,0 @@ -from aiidalab_qe.common.panel import ResultsModel - - -class BandsResultsModel(ResultsModel): - title = "Bands" - identifier = "bands" - - _this_process_label = "BandsWorkChain" diff --git a/src/aiidalab_qe/plugins/bands/result/result.py b/src/aiidalab_qe/plugins/bands/result/result.py deleted file mode 100644 index 8049026a4..000000000 --- a/src/aiidalab_qe/plugins/bands/result/result.py +++ /dev/null @@ -1,15 +0,0 @@ -"""Bands results view widgets""" - -from aiidalab_qe.common.bands_pdos import BandsPdosModel, BandsPdosWidget -from aiidalab_qe.common.panel import ResultsPanel - -from .model import BandsResultsModel - - -class BandsResultsPanel(ResultsPanel[BandsResultsModel]): - def _render(self): - bands_node = self._model.fetch_child_process_node() - model = BandsPdosModel.from_nodes(bands=bands_node) - widget = BandsPdosWidget(model=model) - widget.render() - self.children = [widget] diff --git a/src/aiidalab_qe/plugins/pdos/result/__init__.py b/src/aiidalab_qe/plugins/pdos/result/__init__.py deleted file mode 100644 index 30069fbb8..000000000 --- a/src/aiidalab_qe/plugins/pdos/result/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -from .model import PdosResultsModel -from .result import PdosResultsPanel - -__all__ = [ - "PdosResultsModel", - "PdosResultsPanel", -] diff --git a/src/aiidalab_qe/plugins/pdos/result/model.py b/src/aiidalab_qe/plugins/pdos/result/model.py deleted file mode 100644 index 55621ed9b..000000000 --- a/src/aiidalab_qe/plugins/pdos/result/model.py +++ /dev/null @@ -1,8 +0,0 @@ -from aiidalab_qe.common.panel import ResultsModel - - -class PdosResultsModel(ResultsModel): - title = "PDOS" - identifier = "pdos" - - _this_process_label = "PdosWorkChain" diff --git a/src/aiidalab_qe/plugins/pdos/result/result.py b/src/aiidalab_qe/plugins/pdos/result/result.py deleted file mode 100644 index f9dd0ca7c..000000000 --- a/src/aiidalab_qe/plugins/pdos/result/result.py +++ /dev/null @@ -1,15 +0,0 @@ -"""PDOS results view widgets""" - -from aiidalab_qe.common.bands_pdos import BandsPdosModel, BandsPdosWidget -from aiidalab_qe.common.panel import ResultsPanel - -from .model import PdosResultsModel - - -class PdosResultsPanel(ResultsPanel[PdosResultsModel]): - def _render(self): - pdos_node = self._model.fetch_child_process_node() - model = BandsPdosModel.from_nodes(pdos=pdos_node) - widget = BandsPdosWidget(model=model) - widget.render() - self.children = [widget]