File tree 3 files changed +7
-17
lines changed
3 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -686,7 +686,7 @@ function read_equations_options(options, variables_declared)
686
686
# When this is the case, the variable X and differential D are extracted (for automatic declaration).
687
687
# Also performs simple error checks.
688
688
vars_extracted = Vector {Symbol} ()
689
- add_default_diff = true
689
+ add_default_diff = false
690
690
for eq in equations
691
691
if (eq. head != :call ) || (eq. args[1 ] != :~ )
692
692
error (" Malformed equation: \" $eq \" . Equation's left hand and right hand sides should be separated by a \" ~\" ." )
Original file line number Diff line number Diff line change 214
214
@test equations (rn4)[1 ] isa Equation
215
215
@parameters v n
216
216
@test isequal (Catalyst. expand_registered_functions (equations (rn4)[1 ]), D (A) ~ v* (A^ n))
217
-
218
-
219
- rn5 = @reaction_network begin
220
- @species A (t) B (t)
221
- @equations D (A) + D (B) ~ f (A, t)
222
- end
223
- @test length (equations (rn5)) == 1
224
- @test equations (rn5)[1 ] isa Equation
225
- @species B (t)
226
- @test isequal (equations (rn5)[1 ], D (A) + D (B) ~ 2 * A* t)
227
217
end
228
218
229
219
# Test inferring with stoichiometry symbols and interpolation.
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ using SafeTestsets, Test
11
11
@time begin
12
12
13
13
# Tests the `ReactionSystem` structure and its properties.
14
- @time @safetestset " Reaction Structure" begin include (" reactionsystem_core/reaction.jl" ) end
15
- @time @safetestset " ReactionSystem Structure" begin include (" reactionsystem_core/reactionsystem.jl" ) end
16
- @time @safetestset " Higher Order Reactions" begin include (" reactionsystem_core/higher_order_reactions.jl" ) end
17
- @time @safetestset " Symbolic Stoichiometry" begin include (" reactionsystem_core/symbolic_stoichiometry.jl" ) end
18
- @time @safetestset " Parameter Type Designation" begin include (" reactionsystem_core/parameter_type_designation.jl" ) end
19
- @time @safetestset " Custom CRN Functions" begin include (" reactionsystem_core/custom_crn_functions.jl" ) end
14
+ # @time @safetestset "Reaction Structure" begin include("reactionsystem_core/reaction.jl") end
15
+ # @time @safetestset "ReactionSystem Structure" begin include("reactionsystem_core/reactionsystem.jl") end
16
+ # @time @safetestset "Higher Order Reactions" begin include("reactionsystem_core/higher_order_reactions.jl") end
17
+ # @time @safetestset "Symbolic Stoichiometry" begin include("reactionsystem_core/symbolic_stoichiometry.jl") end
18
+ # @time @safetestset "Parameter Type Designation" begin include("reactionsystem_core/parameter_type_designation.jl") end
19
+ # @time @safetestset "Custom CRN Functions" begin include("reactionsystem_core/custom_crn_functions.jl") end
20
20
@time @safetestset " Coupled CRN/Equation Systems" begin include (" reactionsystem_core/coupled_equation_crn_systems.jl" ) end
21
21
@time @safetestset " Events" begin include (" reactionsystem_core/events.jl" ) end
22
22
You can’t perform that action at this time.
0 commit comments