Skip to content

Commit

Permalink
f-m: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Oct 2, 2023
1 parent e14d066 commit f6ff58f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
6 changes: 3 additions & 3 deletions aiidalab_widgets_base/computational_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""<div>{tooptip}</div>"""
if tooltip:
self._help_text.value = f"""<div>{tooltip}</div>"""

for line_key, line_str in self.templates.items():
env = Environment()
Expand Down
10 changes: 0 additions & 10 deletions notebooks/computational_resources.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit f6ff58f

Please sign in to comment.