Skip to content

Commit

Permalink
Ignore confirmation changes on installation and submission blocker ch…
Browse files Browse the repository at this point in the history
…anges
  • Loading branch information
edan-bainglass committed Dec 24, 2024
1 parent cfba9d8 commit 09add67
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/aiidalab_qe/app/submission/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class SubmissionStepModel(
process_label = tl.Unicode("")
process_description = tl.Unicode("")

internal_submission_blockers = tl.List(tl.Unicode())
external_submission_blockers = tl.List(tl.Unicode())
submission_blocker_messages = tl.Unicode("")
submission_warning_messages = tl.Unicode("")

Expand All @@ -40,11 +42,20 @@ class SubmissionStepModel(
qe_installed = tl.Bool(allow_none=True)
sssp_installed = tl.Bool(allow_none=True)

internal_submission_blockers = tl.List(tl.Unicode())
external_submission_blockers = tl.List(tl.Unicode())

plugin_overrides = tl.List(tl.Unicode())

confirmation_exceptions = [
"confirmed",
"internal_submission_blockers",
"external_submission_blockers",
"submission_blocker_messages",
"submission_warning_messages",
"installing_qe",
"installing_sssp",
"qe_installed",
"sssp_installed",
]

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

Expand Down

0 comments on commit 09add67

Please sign in to comment.