|
44 | 44 | @test Catalyst.get_networkproperties(MAPK).rank == 15
|
45 | 45 |
|
46 | 46 | k = rand(rng, numparams(MAPK))
|
47 |
| - rates = Dict(zip(reactionparams(MAPK), k)) |
| 47 | + rates = Dict(zip(parameters(MAPK), k)) |
48 | 48 | @test Catalyst.iscomplexbalanced(MAPK, rates) == false
|
49 | 49 | # i=0;
|
50 | 50 | # for lcs in linkageclasses(MAPK)
|
|
85 | 85 | @test Catalyst.get_networkproperties(rn2).rank == 6
|
86 | 86 |
|
87 | 87 | k = rand(rng, numparams(rn2))
|
88 |
| - rates = Dict(zip(reactionparams(rn2), k)) |
| 88 | + rates = Dict(zip(parameters(rn2), k)) |
89 | 89 | @test Catalyst.iscomplexbalanced(rn2, rates) == false
|
90 | 90 | # i=0;
|
91 | 91 | # for lcs in linkageclasses(rn2)
|
|
129 | 129 | @test Catalyst.get_networkproperties(rn3).rank == 10
|
130 | 130 |
|
131 | 131 | k = rand(rng, numparams(rn3))
|
132 |
| - rates = Dict(zip(reactionparams(rn3), k)) |
| 132 | + rates = Dict(zip(parameters(rn3), k)) |
133 | 133 | @test Catalyst.iscomplexbalanced(rn3, rates) == false
|
134 | 134 | # i=0;
|
135 | 135 | # for lcs in linkageclasses(rn3)
|
|
154 | 154 | end
|
155 | 155 |
|
156 | 156 | k = rand(rng, numparams(rn4))
|
157 |
| - rates = Dict(zip(reactionparams(rn4), k)) |
| 157 | + rates = Dict(zip(parameters(rn4), k)) |
158 | 158 | @test Catalyst.iscomplexbalanced(rn4, rates) == true
|
159 | 159 | end
|
160 | 160 |
|
|
182 | 182 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
183 | 183 |
|
184 | 184 | k = rand(rng, numparams(rn))
|
185 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 185 | + rates = Dict(zip(parameters(rn), k)) |
186 | 186 | @test Catalyst.iscomplexbalanced(rn, rates) == false
|
187 | 187 | end
|
188 | 188 |
|
|
200 | 200 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
201 | 201 |
|
202 | 202 | k = rand(rng, numparams(rn))
|
203 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 203 | + rates = Dict(zip(parameters(rn), k)) |
204 | 204 | @test Catalyst.iscomplexbalanced(rn, rates) == false
|
205 | 205 | end
|
206 | 206 | let
|
|
212 | 212 | weak_rev = false
|
213 | 213 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
214 | 214 | k = rand(rng, numparams(rn))
|
215 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 215 | + rates = Dict(zip(parameters(rn), k)) |
216 | 216 | @test Catalyst.iscomplexbalanced(rn, rates) == false
|
217 | 217 | end
|
218 | 218 | let
|
|
226 | 226 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
227 | 227 |
|
228 | 228 | k = rand(rng, numparams(rn))
|
229 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 229 | + rates = Dict(zip(parameters(rn), k)) |
230 | 230 | @test Catalyst.iscomplexbalanced(rn, rates) == false
|
231 | 231 | end
|
232 | 232 | let
|
|
241 | 241 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
242 | 242 |
|
243 | 243 | k = rand(rng, numparams(rn))
|
244 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 244 | + rates = Dict(zip(parameters(rn), k)) |
245 | 245 | @test Catalyst.iscomplexbalanced(rn, rates) == true
|
246 | 246 | end
|
247 | 247 | let
|
|
254 | 254 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
255 | 255 |
|
256 | 256 | k = rand(rng, numparams(rn))
|
257 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 257 | + rates = Dict(zip(parameters(rn), k)) |
258 | 258 | @test Catalyst.iscomplexbalanced(rn, rates) == false
|
259 | 259 | end
|
260 | 260 | let
|
|
267 | 267 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
268 | 268 |
|
269 | 269 | k = rand(rng, numparams(rn))
|
270 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 270 | + rates = Dict(zip(parameters(rn), k)) |
271 | 271 | @test Catalyst.iscomplexbalanced(rn, rates) == true
|
272 | 272 | end
|
273 | 273 | let
|
|
277 | 277 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
278 | 278 |
|
279 | 279 | k = rand(rng, numparams(rn))
|
280 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 280 | + rates = Dict(zip(parameters(rn), k)) |
281 | 281 | @test Catalyst.iscomplexbalanced(rn, rates) == true
|
282 | 282 | end
|
283 | 283 | let
|
|
292 | 292 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
293 | 293 |
|
294 | 294 | k = rand(rng, numparams(rn))
|
295 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 295 | + rates = Dict(zip(parameters(rn), k)) |
296 | 296 | @test Catalyst.iscomplexbalanced(rn, rates) == true
|
297 | 297 | end
|
298 | 298 | let
|
|
307 | 307 | testreversibility(rn, reactioncomplexes(rn)[2], rev, weak_rev)
|
308 | 308 |
|
309 | 309 | k = rand(rng, numparams(rn))
|
310 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 310 | + rates = Dict(zip(parameters(rn), k)) |
311 | 311 | @test Catalyst.iscomplexbalanced(rn, rates) == false
|
312 | 312 | end
|
313 | 313 |
|
|
322 | 322 | end
|
323 | 323 |
|
324 | 324 | k = rand(rng, numparams(rn))
|
325 |
| - rates = Dict(zip(reactionparams(rn), k)) |
| 325 | + rates = Dict(zip(parameters(rn), k)) |
326 | 326 | @test Catalyst.iscomplexbalanced(rn, rates) == true
|
327 | 327 | end
|
328 | 328 |
|
0 commit comments