Skip to content

Commit

Permalink
Fix erroneous display in alert message (aiidalab#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbercx authored Nov 1, 2021
1 parent 63e1ac0 commit 3c78372
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aiidalab_qe/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
ProcessNodesTreeWidget,
WizardAppWidgetStep,
)
from IPython.display import display

from aiidalab_qe.parameters import DEFAULT_PARAMETERS
from aiidalab_qe.pseudos import PseudoFamilySelector
Expand Down Expand Up @@ -445,7 +446,7 @@ def _auto_select_code(self, change):

def _show_alert_message(self, message, alert_class="info"):
with self.message_area:
ipw.display( # noqa
display(
ipw.HTML(
self._ALERT_MESSAGE.format(alert_class=alert_class, message=message)
)
Expand Down

0 comments on commit 3c78372

Please sign in to comment.