Skip to content

Commit 25ba99b

Browse files
committed
doc update
1 parent fd97442 commit 25ba99b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/catalyst_functionality/dsl_description.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ If we only wish to provide a single observable, the `begin ... end` block is not
609609
```@example obs1
610610
using Catalyst # hide
611611
rn = @reaction_network begin
612-
@observables Xtot ~ X + XY
612+
@observables Xtot ~ X + XY
613613
(pX,dX), 0 <--> X
614614
(pY,dY), 0 <--> Y
615615
(kB,kD), X + Y <--> XY
@@ -621,4 +621,6 @@ Finally, some general rules for creating observables:
621621
- All observables components must be declared somewhere (i.e., they cannot only appear as a part of the observables formula).
622622
- Only a single `@observables` option block can be used in each `@reaction_network` call.
623623
- The left-hand side of the observables expression must be a single symbol, indicating the observable's name.
624+
- Metadata can, however, be provided, e.g through `@observables (Xtot, [description="Total amount of X"]) ~ X + XY`.
624625
- The right-hand side of the observables expression can be any valid algebraic expression.
626+
- Observables are (by default, but this can be changed) considered `variables` (and not `species`).

0 commit comments

Comments
 (0)