Skip to content

Commit

Permalink
organizing a result folder
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresOrtegaGuerrero committed Nov 29, 2024
1 parent 5917326 commit 7486b06
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/aiidalab_qe_vibroscopy/app/result/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from aiidalab_qe_vibroscopy.app.result.model import VibroResultsModel
from aiidalab_qe_vibroscopy.app.result.result import VibroResultsPanel

__all__ = [
"VibroResultsModel",
"VibroResultsPanel",
]
13 changes: 13 additions & 0 deletions src/aiidalab_qe_vibroscopy/app/result/model.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from aiidalab_qe.common.panel import ResultsModel
import traitlets as tl


class VibroResultsModel(ResultsModel):
identifier = "vibronic"

_this_process_label = "VibroWorkChain"

tab_titles = tl.List([])

def get_vibro_node(self):
return self._get_child_outputs()
14 changes: 14 additions & 0 deletions src/aiidalab_qe_vibroscopy/app/result/result.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""Vibronic results view widgets"""

from aiidalab_qe_vibroscopy.app.result.model import VibroResultsModel
from aiidalab_qe.common.panel import ResultsPanel


class VibroResultsPanel(ResultsPanel[VibroResultsModel]):
title = "Vibronic"
identifier = "vibronic"
workchain_labels = ["vibro"]

def render(self):
if self.rendered:
return
Empty file.

0 comments on commit 7486b06

Please sign in to comment.