Skip to content
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

Add tutorial set-up code #1147

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/src/model_creation/examples/basic_CRN_library.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# [Library of Basic Chemical Reaction Network Models](@id basic_CRN_library)
```@raw html
<details><summary><strong>Tutorial environment set-up</strong></summary>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is technically everything at tutorial though? Maybe we write "Environment set-up" and keep it at that, or something else. Or "Julia environment set-up".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe say "Environment setup and package installation"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sound good

```
The following code sets up an environment for running this tutorial.
isaacsas marked this conversation as resolved.
Show resolved Hide resolved
TorkelE marked this conversation as resolved.
Show resolved Hide resolved
```julia
isaacsas marked this conversation as resolved.
Show resolved Hide resolved
using Pkg
Pkg.activate(".")
Pkg.add("Catalyst")
Pkg.add("OrdinaryDiffEqDefault")
Pkg.add("StochasticDiffEq")
Pkg.add("JumpProcesses")
Pkg.add("Plots")
```
```@raw html
</details>
```
\
isaacsas marked this conversation as resolved.
Show resolved Hide resolved

Below we will present various simple and established chemical reaction network (CRN) models. Each model is given some brief background, implemented using the `@reaction_network` DSL, and basic simulations are performed.

## [Birth-death process](@id basic_CRN_library_bd)
Expand Down
Loading