Skip to content

Commit fdb9cc0

Browse files
committed
changed reactionparams to parameters
1 parent 1285720 commit fdb9cc0

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

test/network_analysis/network_properties.jl

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ let
4444
@test Catalyst.get_networkproperties(MAPK).rank == 15
4545

4646
k = rand(rng, numparams(MAPK))
47-
rates = Dict(zip(reactionparams(MAPK), k))
47+
rates = Dict(zip(parameters(MAPK), k))
4848
@test Catalyst.iscomplexbalanced(MAPK, rates) == false
4949
# i=0;
5050
# for lcs in linkageclasses(MAPK)
@@ -85,7 +85,7 @@ let
8585
@test Catalyst.get_networkproperties(rn2).rank == 6
8686

8787
k = rand(rng, numparams(rn2))
88-
rates = Dict(zip(reactionparams(rn2), k))
88+
rates = Dict(zip(parameters(rn2), k))
8989
@test Catalyst.iscomplexbalanced(rn2, rates) == false
9090
# i=0;
9191
# for lcs in linkageclasses(rn2)
@@ -129,7 +129,7 @@ let
129129
@test Catalyst.get_networkproperties(rn3).rank == 10
130130

131131
k = rand(rng, numparams(rn3))
132-
rates = Dict(zip(reactionparams(rn3), k))
132+
rates = Dict(zip(parameters(rn3), k))
133133
@test Catalyst.iscomplexbalanced(rn3, rates) == false
134134
# i=0;
135135
# for lcs in linkageclasses(rn3)
@@ -154,7 +154,7 @@ let
154154
end
155155

156156
k = rand(rng, numparams(rn4))
157-
rates = Dict(zip(reactionparams(rn4), k))
157+
rates = Dict(zip(parameters(rn4), k))
158158
@test Catalyst.iscomplexbalanced(rn4, rates) == true
159159
end
160160

@@ -182,7 +182,7 @@ let
182182
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
183183

184184
k = rand(rng, numparams(rn))
185-
rates = Dict(zip(reactionparams(rn), k))
185+
rates = Dict(zip(parameters(rn), k))
186186
@test Catalyst.iscomplexbalanced(rn, rates) == false
187187
end
188188

@@ -200,7 +200,7 @@ let
200200
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
201201

202202
k = rand(rng, numparams(rn))
203-
rates = Dict(zip(reactionparams(rn), k))
203+
rates = Dict(zip(parameters(rn), k))
204204
@test Catalyst.iscomplexbalanced(rn, rates) == false
205205
end
206206
let
@@ -212,7 +212,7 @@ let
212212
weak_rev = false
213213
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
214214
k = rand(rng, numparams(rn))
215-
rates = Dict(zip(reactionparams(rn), k))
215+
rates = Dict(zip(parameters(rn), k))
216216
@test Catalyst.iscomplexbalanced(rn, rates) == false
217217
end
218218
let
@@ -226,7 +226,7 @@ let
226226
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
227227

228228
k = rand(rng, numparams(rn))
229-
rates = Dict(zip(reactionparams(rn), k))
229+
rates = Dict(zip(parameters(rn), k))
230230
@test Catalyst.iscomplexbalanced(rn, rates) == false
231231
end
232232
let
@@ -241,7 +241,7 @@ let
241241
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
242242

243243
k = rand(rng, numparams(rn))
244-
rates = Dict(zip(reactionparams(rn), k))
244+
rates = Dict(zip(parameters(rn), k))
245245
@test Catalyst.iscomplexbalanced(rn, rates) == true
246246
end
247247
let
@@ -254,7 +254,7 @@ let
254254
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
255255

256256
k = rand(rng, numparams(rn))
257-
rates = Dict(zip(reactionparams(rn), k))
257+
rates = Dict(zip(parameters(rn), k))
258258
@test Catalyst.iscomplexbalanced(rn, rates) == false
259259
end
260260
let
@@ -267,7 +267,7 @@ let
267267
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
268268

269269
k = rand(rng, numparams(rn))
270-
rates = Dict(zip(reactionparams(rn), k))
270+
rates = Dict(zip(parameters(rn), k))
271271
@test Catalyst.iscomplexbalanced(rn, rates) == true
272272
end
273273
let
@@ -277,7 +277,7 @@ let
277277
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
278278

279279
k = rand(rng, numparams(rn))
280-
rates = Dict(zip(reactionparams(rn), k))
280+
rates = Dict(zip(parameters(rn), k))
281281
@test Catalyst.iscomplexbalanced(rn, rates) == true
282282
end
283283
let
@@ -292,7 +292,7 @@ let
292292
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
293293

294294
k = rand(rng, numparams(rn))
295-
rates = Dict(zip(reactionparams(rn), k))
295+
rates = Dict(zip(parameters(rn), k))
296296
@test Catalyst.iscomplexbalanced(rn, rates) == true
297297
end
298298
let
@@ -307,7 +307,7 @@ let
307307
testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
308308

309309
k = rand(rng, numparams(rn))
310-
rates = Dict(zip(reactionparams(rn), k))
310+
rates = Dict(zip(parameters(rn), k))
311311
@test Catalyst.iscomplexbalanced(rn, rates) == false
312312
end
313313

@@ -322,7 +322,7 @@ let
322322
end
323323

324324
k = rand(rng, numparams(rn))
325-
rates = Dict(zip(reactionparams(rn), k))
325+
rates = Dict(zip(parameters(rn), k))
326326
@test Catalyst.iscomplexbalanced(rn, rates) == true
327327
end
328328

0 commit comments

Comments
 (0)