Skip to content

Commit 070df9d

Browse files
committed
Remove non "-->" arrow versions (except when they are given as example)
1 parent 25b4153 commit 070df9d

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

docs/src/catalyst_applications/advanced_simulations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,10 @@ Let us consider the Brusselator model:
375375
using Catalyst, DifferentialEquations, Plots
376376
377377
brusselator = @reaction_network begin
378-
A, ∅ X
379-
1, 2X + Y 3X
380-
B, X Y
381-
1, X
378+
A, ∅ --> X
379+
1, 2X + Y --> 3X
380+
B, X --> Y
381+
1, X -->
382382
end
383383
u0 = [:X => 1.0, :Y => 0.0]
384384
tspan = (0.0, 50.0)

docs/src/catalyst_functionality/dsl_description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ end
211211
Pair 3:
212212
```@example tut2
213213
rn1 = @reaction_network begin
214-
(1.0,2.0,3.0), (S1,S2,S3) (P1,P2,P3)
214+
(1.0,2.0,3.0), (S1,S2,S3) --> (P1,P2,P3)
215215
end
216216
```
217217
```@example tut2
@@ -278,7 +278,7 @@ using SpecialFunctions
278278
rn = @reaction_network begin
279279
2.0*X^2, 0 --> X + Y
280280
t*gamma(Y), X --> ∅
281-
pi*X/Y, Y
281+
pi*X/Y, Y -->
282282
end
283283
```
284284
where here `t` always denotes Catalyst's time variable. Please note that many

docs/src/catalyst_functionality/example_networks/basic_CRN_examples.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ using Catalyst, DifferentialEquations, Plots
9999
100100
rs = @reaction_network begin
101101
@parameters A B
102-
A, ∅ X
103-
1, 2X + Y 3X
104-
B, X Y
105-
1, X
102+
A, ∅ --> X
103+
1, 2X + Y --> 3X
104+
B, X --> Y
105+
1, X -->
106106
end
107107
tspan = (0.0,50.0)
108108
u0 = [:X => 1.0, :Y => 1.0]

docs/src/faqs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ ModelingToolkit. e.g., this is should work
288288
using Catalyst
289289
myHill(x) = 2*x^3/(x^3+1.5^3)
290290
rn = @reaction_network begin
291-
myHill(X), ∅ X
291+
myHill(X), ∅ --> X
292292
end
293293
```
294294
In some cases, it may be necessary or desirable to register functions with

docs/src/inverse_problems/parameter_estimation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Next, we declare our model. For our example, we will use the Brusselator, a
2121
simple oscillator.
2222
```@example pe1
2323
brusselator = @reaction_network begin
24-
A, ∅ X
25-
1, 2X + Y 3X
26-
B, X Y
27-
1, X
24+
A, ∅ --> X
25+
1, 2X + Y --> 3X
26+
B, X --> Y
27+
1, X -->
2828
end
2929
p_real = [:A => 1., :B => 2.]
3030
```

docs/src/inverse_problems/petab_ode_param_fitting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ true_sol = solve(oprob_true, Tsit5())
2626
data_sol = solve(oprob_true, Tsit5(); saveat=1.0)
2727
data_ts = data_sol.t[2:end]
2828
data_vals = (0.8 .+ 0.4*rand(10)) .* data_sol[:P][2:end]
29-
29+
3030
# Plots the true solutions and the (synthetic data) measurements.
3131
using Plots
3232
plot(true_sol; idxs=:P, label="True solution", lw=8)

0 commit comments

Comments
 (0)