-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc: Fixing several small issues #6392
Conversation
c9b59a3
to
353b5d1
Compare
The recursive workchain in code snippets can theoretically not run and is just confusing to have as an example for a user. It has been fixed by using different name for the inner workchain.
12e31e5
to
d16f6aa
Compare
@@ -1,4 +1,7 @@ | |||
from aiida.engine import WorkChain, append_ | |||
from aiida.plugins.factories import CalculationFactory | |||
|
|||
SomeOtherWorkChain = CalculationFactory('some.module') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
had to define this somewhere, because mypy was complaining
In the classes NodeCaching and ProcessNodeCaching the `is valid_cache` is a property. To not render it with method brackets we use now the :attr: sphinx directive in the.
I will keep this PR as draft, since I will probably stumble on more small issues in the doc that I can fix here to reduce overhead of review and PR creation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @agoscinski since this has been open for a long time now and we are about to release, I am merging this.
The recursive workchain in code snippets can theoretically not run and is just confusing to have as an example for a user. It has been fixed by using different name for the inner workchain. In the classes `NodeCaching` and `ProcessNodeCaching` the `is valid_cache` is a property. To not render it with method brackets, the `:attr:` sphinx directive is used instead of `:meth:`.
Recursive workchain in code snippets that can theoretically not run has been fixed by using different name for the inner workchain
(Sorry did create a branch on aiida-core by accident instead of doing it in my fork)