Skip to content

Commit

Permalink
👌 IMPROVE: final updates for the basic workflow sections (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbercx committed Oct 5, 2022
1 parent 6f356a6 commit 8d1bb22
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docs/sections/writing_workflows/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ Writing workflows
:class: footer-table
:header-rows: 0

* - |time| 20 min
- |aiida| :aiida-blue:`Intermediate`
* - |time| 30 min
- |aiida| :aiida-green:`Basic`

------
:column: col-lg-6
Expand All @@ -104,7 +104,7 @@ Writing workflows

* -
- :badge:`Quantum ESPRESSO,badge-qe text-white`
* - |time| 30 min
* - |time| 45 min
- |aiida| :aiida-blue:`Intermediate`


Expand All @@ -131,7 +131,7 @@ Writing workflows
:class: footer-table
:header-rows: 0

* - |time| 20 min
* - |time| 30 min
- |aiida| :aiida-blue:`Intermediate`

------
Expand Down
15 changes: 15 additions & 0 deletions docs/sections/writing_workflows/workfunction.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,21 @@ In [1]: from add_multiply import add_multiply
```

```{important}
If you're running the verdi shell commands in a Jupyter notebook, you need to restart the notebook kernel before it will recognise any new Python modules, or changes in a Python module.
The notebook can be restarted with the circular arrow button at the top or by pressing zero `0` twice in quick succession.
::::{figure-md} fig-restart-notebook
:align: center
<img src="include/images/restart-notebook.png" alt="Restarting the Jupyter notebook" width="60%">
Restarting the Jupyter Notebook.
::::
```

Similar to a calculation function, running a work function is as simple as calling a typical Python function: simply call it with the required input arguments:

Expand Down

0 comments on commit 8d1bb22

Please sign in to comment.