Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 9, 2024
1 parent 3c8a119 commit ac2b307
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/aiidalab_qe/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""

import ipywidgets as ipw
import traitlets as tl
from IPython.display import Javascript, display

from aiida.orm import load_node
Expand All @@ -12,15 +13,14 @@
from aiidalab_qe.app.structure import StructureSelectionStep
from aiidalab_qe.app.submission import SubmitQeAppWorkChainStep
from aiidalab_widgets_base import WizardAppWidget, WizardAppWidgetStep
import traitlets as tl


class App(ipw.VBox):
"""The main widget that combines all the application steps together."""

# The PK or UUID of the work chain node.
process = tl.Union([tl.Unicode(), tl.Int()], allow_none=True)


def __init__(self, qe_auto_setup=True):
# Create the application steps
self.structure_step = StructureSelectionStep(auto_advance=True)
Expand Down Expand Up @@ -156,4 +156,4 @@ def _observe_process(self, change):
self.configure_step.set_configuration_parameters(ui_parameters)
self.configure_step.confirm()
self.submit_step.set_submission_parameters(ui_parameters)
self.submit_step.state = self.submit_step.State.SUCCESS
self.submit_step.state = self.submit_step.State.SUCCESS

0 comments on commit ac2b307

Please sign in to comment.