Skip to content

Commit

Permalink
Merge pull request #199 from atztogo/master
Browse files Browse the repository at this point in the history
Minor update of tutorial at ISSP Univ. Tokyo
  • Loading branch information
atztogo committed Dec 15, 2019
2 parents d4ab7ec + c875bbd commit 125fe4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ links inside the respective sections.
:maxdepth: 1
:caption: Tutorial materials

2019, ISSP University of Tokyo, Chiba, Japan (aiida-core 1.0.0b6)<./pages/2019_ISSP_Chiba_Japan/index>
2019, ISSP University of Tokyo, Chiba, Japan (aiida-core 1.0.1)<./pages/2019_ISSP_Chiba_Japan/index>
2019, IIT Mandi, Mandi, India (aiida-core 1.0.0b6)<./pages/2019_IIT_Mandi_India/index>
2019, SINTEF, Oslo, Norway (aiida-core 1.0.0b6)<./pages/2019_SINTEF/index>
2019, Jožef Stefan Institute, Ljubljana, Slovenia (aiida-core 1.0.0b6)<./pages/2019_Ljubljana/index>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/2019_ISSP_Chiba_Japan/sections/workflows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ Here below you can find the basic rules that allow you to convert your workfunct
E.g. save your WorkChain in ``workchains.py`` and use ``from workchains import MyWorkChain`` to import it in your script.

Furthermore, the directory containing the WorkChain definition needs to be in the ``PYTHONPATH`` in order for the AiiDA daemon to find it.
If your ``workchains.py`` sits in ``/home/max/workchains``, add a line ``export PYTHONPATH=$PYTHONPATH:/home/max`` to the ``/home/max/.virtualenvs/aiida/bin/activate`` script, followed by ``verdi daemon restart``.
If your ``workchains.py`` sits in ``/home/max/workchains``, add a line ``export PYTHONPATH=$PYTHONPATH:/home/max/workchains`` to the ``/home/max/.virtualenvs/aiida/bin/activate`` script, followed by ``verdi daemon restart``.

- Instead of using decorated functions you need to define a class, inheriting from a prototype class called ``WorkChain`` that is provided by AiiDA in the ``aiida.engine`` module.

Expand Down

0 comments on commit 125fe4b

Please sign in to comment.