diff --git a/aiidalab_widgets_base/computational_resources.py b/aiidalab_widgets_base/computational_resources.py index ff72d7132..963218ec2 100644 --- a/aiidalab_widgets_base/computational_resources.py +++ b/aiidalab_widgets_base/computational_resources.py @@ -1402,10 +1402,10 @@ def _templates_changed(self, _=None): def _render(self): """Render the template variables widget.""" metadata = self.templates.get("metadata", {}) - tooptip = metadata.get("tooltip", None) + tooltip = metadata.get("tooltip", None) - if tooptip: - self._help_text.value = f"""
{tooptip}
""" + if tooltip: + self._help_text.value = f"""
{tooltip}
""" for line_key, line_str in self.templates.items(): env = Environment() diff --git a/notebooks/computational_resources.ipynb b/notebooks/computational_resources.ipynb index 8113e23b5..288614313 100644 --- a/notebooks/computational_resources.ipynb +++ b/notebooks/computational_resources.ipynb @@ -64,16 +64,6 @@ "display(resources1)\n", "display(resources2)" ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "0221cb24", - "metadata": {}, - "outputs": [], - "source": [ - "resources1.quick_setup.ssh_widgets.layout.display = \"block\"" - ] } ], "metadata": {