-
Notifications
You must be signed in to change notification settings - Fork 17
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
GSoC: documentation #167
GSoC: documentation #167
Conversation
unkcpz
commented
Aug 20, 2020
- Change the doc theme same as kiwipy
- add docstring to all public methods
- add new examples
- reorganize the section of the doc.
- adding new logo - using new theme same as kiwipy - reorganized the documentation structure
you can remove all the |
I also added sphinx-autobuild to tox 806f932 |
@chrisjsewell thanks! will do it. also a good reminder, here is an unfinished PR. 😄 |
Haha yeh happy to help you finish this. |
actually I've copied it over to #190 |
Process | ||
------- | ||
|
||
The probably most basic concept in plumpy is the process. A process is an asynchronously running component that is typically defined as a static, "long-running" part of the workflow. |
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.
The probably most basic concept in plumpy is the process. A process is an asynchronously running component that is typically defined as a static, "long-running" part of the workflow. | |
The most basic concept in plumpy is the process. | |
A process is an asynchronously running component that is typically defined as a static, "long-running" part of the workflow. |
Workchain | ||
--------- | ||
|
||
`WorkChain` is `Process`, however, not only the `Process`. |
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.
`WorkChain` is `Process`, however, not only the `Process`. | |
A `WorkChain` is a sub-class of `Process`, with additional features for running a process as a set of discrete steps (also known as instructions). |
|
||
`WorkChain` is `Process`, however, not only the `Process`. | ||
|
||
A WorkChain is a series of instructions carried out with the ability to save state in between. |
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.
A WorkChain is a series of instructions carried out with the ability to save state in between. | |
A concrete `WorkChain` is created with a series of instructions to be carried out, and has the ability to save the state of the process after each instruction has completed. |
|
||
A WorkChain is a series of instructions carried out with the ability to save state in between. | ||
|
||
The `outline` can give a succinct summary of the logical steps that the workchain will perform. |
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.
The `outline` can give a succinct summary of the logical steps that the workchain will perform. | |
The set of instructions is defined in the `outline` method, which provides a succinct summary of the logical steps that the workchain will perform. |
A WorkChain is a series of instructions carried out with the ability to save state in between. | ||
|
||
The `outline` can give a succinct summary of the logical steps that the workchain will perform. | ||
WorkChain supporting using `If_` and `While_` to control the state flow of certain processes. |
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.
WorkChain supporting using `If_` and `While_` to control the state flow of certain processes. | |
WorkChains support the use of logical constructs such as `If_` and `While_` to control the state flow of certain processes. |
|
||
|
||
Controller | ||
__________ |
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.
__________ | |
---------- | |
|
||
Controller | ||
__________ | ||
The controller control the process by sending and processing signals over RabbitMQ with the implementation of kiwipy. |
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.
The controller control the process by sending and processing signals over RabbitMQ with the implementation of kiwipy. | |
The `Controller` controls the process by sending and recieving signals from the `RabbitMQ <https://www.rabbitmq.com/>`__ message broker, using the Python interface implemented in `kiwipy <https://kiwipy.readthedocs.io/>`__. |
There are two types of implementation of controller in plumpy, the asynchronous one `RemoteProcessController` and synchronous | ||
one `RemoteProcessThreadController`. The difference of `RemoteProcessController` is that its methods are coroutines which are running without blocking other tasks. |
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.
There are two types of implementation of controller in plumpy, the asynchronous one `RemoteProcessController` and synchronous | |
one `RemoteProcessThreadController`. The difference of `RemoteProcessController` is that its methods are coroutines which are running without blocking other tasks. | |
There are two types of `Controller` implementation in plumpy; the synchronous (blocking) `RemoteProcessThreadController` and asynchronous (non-blocking) `RemoteProcessController`. | |
@chrisjsewell thanks! I plan to come back to make this done after #180 merged. |
Well as I was reviewing, I realised there was a lot to change/add lol. So yeh I would say, once I have finished it (hopefully today), to check that you are happy I have included everything from this PR in #190, then close it |