Skip to content

Commit

Permalink
👌 IMPROVE: Update advanced workflow sections for aiida-core==2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mbercx committed Sep 20, 2022
1 parent 78d6ed1 commit 9696629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/sections/writing_workflows/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ We can now launch it like any other work chain and the `BaseRestartWorkChain` wi

```{code-block} python
submit(ArithmeticAddBaseWorkChain, x=Int(3), y=Int(4), code=load_code('add@tutor'))
submit(ArithmeticAddBaseWorkChain, x=Int(3), y=Int(4), code=load_code('add@localhost'))
```

Expand Down Expand Up @@ -341,7 +341,7 @@ inputs = {
'add': {
'x': Int(3),
'y': Int(4),
'code': load_code('add@tutor')
'code': load_code('add@localhost')
}
}
submit(ArithmeticAddBaseWorkChain, **inputs)
Expand Down Expand Up @@ -370,7 +370,7 @@ Let's launch the work chain with inputs that will cause the calculation to fail,

```{code-block} python
submit(ArithmeticAddBaseWorkChain, add={'x': Int(3), 'y': Int(-4), 'code': load_code('add@tutor')})
submit(ArithmeticAddBaseWorkChain, add={'x': Int(3), 'y': Int(-4), 'code': load_code('add@localhost')})
```

Expand Down
2 changes: 1 addition & 1 deletion docs/sections/writing_workflows/realworld.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Similar to data, calculation, and workflows, a database importer class can be lo
```{code-block} ipython
In [1]: from aiida.plugins import DbImporterFactory
...: CodDbImporter = DbImporterFactory('cod')
...: CodDbImporter = DbImporterFactory('core.cod')
```

Expand Down

0 comments on commit 9696629

Please sign in to comment.