Skip to content

Commit 63c70d3

Browse files
authored
Merge pull request #1226 from SciML/project.toml_housekeeping
Project.toml housekeeping
2 parents 6de671c + d0f1e77 commit 63c70d3

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

Project.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,12 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
9191
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
9292
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
9393
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
94-
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
95-
SciMLNLSolve = "e9a6253c-8580-4d32-9898-8661bb511710"
9694
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
9795
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
9896
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
9997
SteadyStateDiffEq = "9672c7b4-1e72-59bd-8a11-6ac3964bc41f"
10098
StochasticDiffEq = "789caeaf-c7a9-5a7d-9973-96adeb23e2a0"
10199
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
102-
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
103100

104101
[targets]
105-
test = ["DataInterpolations", "DiffEqCallbacks", "DomainSets", "Logging", "NonlinearSolve", "OrdinaryDiffEqBDF", "OrdinaryDiffEqDefault", "OrdinaryDiffEqRosenbrock", "OrdinaryDiffEqTsit5", "OrdinaryDiffEqVerner", "Pkg", "Plots", "Random", "SafeTestsets", "SciMLBase", "SciMLNLSolve", "StableRNGs", "StaticArrays", "Statistics", "SteadyStateDiffEq", "StochasticDiffEq", "Test", "Unitful"]
102+
test = ["DataInterpolations", "DiffEqCallbacks", "DomainSets", "Logging", "NonlinearSolve", "OrdinaryDiffEqBDF", "OrdinaryDiffEqDefault", "OrdinaryDiffEqRosenbrock", "OrdinaryDiffEqTsit5", "OrdinaryDiffEqVerner", "Pkg", "Plots", "Random", "SafeTestsets", "StableRNGs", "StaticArrays", "Statistics", "SteadyStateDiffEq", "StochasticDiffEq", "Test"]

test/compositional_modelling/component_based_model_creation.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Prepares Tests ###
44

55
# Fetch packages.
6-
using Catalyst, LinearAlgebra, OrdinaryDiffEqTsit5, SciMLNLSolve, Test
6+
using Catalyst, LinearAlgebra, OrdinaryDiffEqTsit5, NonlinearSolve, Test
77
using ModelingToolkit: nameof, getname
88

99
# Sets the default `t` to use.
@@ -103,7 +103,7 @@ let
103103
sys2 = structural_simplify(nlrepressilator)
104104
@test length(equations(sys2)) <= 6
105105
nlprob = NonlinearProblem(sys2, u₀_nl, pvals)
106-
sol = solve(nlprob, NLSolveJL(), abstol = 1e-9)
106+
sol = solve(nlprob; abstol = 1e-9)
107107
@test sol[sys₁.P] sol[sys₂.P] sol[sys₃.P]
108108
@test sol[sys₁.m] sol[sys₂.m] atol=1e-7
109109
@test sol[sys₁.m] sol[sys₃.m] atol=1e-7
@@ -116,7 +116,7 @@ let
116116
sys2 = structural_simplify(nlrepressilator)
117117
@test length(equations(sys2)) <= 6
118118
nlprob = NonlinearProblem(sys2, u₀_nl, pvals)
119-
sol = solve(nlprob, NLSolveJL(), abstol = 1e-9)
119+
sol = solve(nlprob; abstol = 1e-9)
120120
@test sol[sys₁.P] sol[sys₂.P] sol[sys₃.P]
121121
@test sol[sys₁.m] sol[sys₂.m] atol=1e-7
122122
@test sol[sys₁.m] sol[sys₃.m] atol=1e-7
@@ -134,7 +134,7 @@ let
134134
sys2 = structural_simplify(nlrepressilator)
135135
@test length(equations(sys2)) <= 6
136136
nlprob = NonlinearProblem(sys2, u₀_nl, pvals)
137-
sol = solve(nlprob, NLSolveJL(), abstol = 1e-9)
137+
sol = solve(nlprob; abstol = 1e-9)
138138
@test sol[sys₁.P] sol[sys₂.P] sol[sys₃.P]
139139
@test sol[sys₁.m] sol[sys₂.m] atol=1e-7
140140
@test sol[sys₁.m] sol[sys₃.m] atol=1e-7
@@ -253,7 +253,7 @@ let
253253
sys2 = structural_simplify(nlrepressilator)
254254
@test length(equations(sys2)) <= 6
255255
nlprob = NonlinearProblem(sys2, u₀_nl, pvals)
256-
sol = solve(nlprob, NLSolveJL(), abstol = 1e-9)
256+
sol = solve(nlprob; abstol = 1e-9)
257257
@test sol[sys₁.P] sol[sys₂.P] sol[sys₃.P]
258258
@test sol[sys₁.m] sol[sys₂.m] atol=1e-7
259259
@test sol[sys₁.m] sol[sys₃.m] atol=1e-7
@@ -503,7 +503,7 @@ end
503503
let
504504
t = default_t()
505505
D = default_time_deriv()
506-
@species x1(t) x2(t)
506+
@species x1(t) x2(t)
507507
@variables x3(t) x4(t) x5(t)
508508
x2 = ParentScope(x2)
509509
x3 = ParentScope(ParentScope(x3))
@@ -514,7 +514,7 @@ let
514514
p3 = ParentScope(ParentScope(p3))
515515
p4 = DelayParentScope(p4)
516516
p5 = GlobalScope(p5)
517-
rxs = [Reaction(p1, nothing, [x1]), Reaction(p2, [x2], nothing),
517+
rxs = [Reaction(p1, nothing, [x1]), Reaction(p2, [x2], nothing),
518518
D(x3) ~ p3, D(x4) ~ p4, D(x5) ~ p5]
519519
@named sys1 = ReactionSystem(rxs, t)
520520
@test isequal(x1, only(unknowns(sys1)))

0 commit comments

Comments
 (0)