Unverified Commit 044cba63 authored by St. Elmo's avatar St. Elmo
Browse files

replaced empty set with nothing

parent c626df54
......@@ -56,8 +56,8 @@ m4 = metabolite_list[4]
@add_reactions! model begin # macro approach
r4, m2 m4, 0, 1000
r_m3, m3 , -1000, 1000
r_m4, m4
r_m3, m3 nothing, -1000, 1000
r_m4, m4 nothing
r5, m4 m2
end
......
......@@ -24,13 +24,13 @@
rxn = 1.0 * nadh + 4.0 * h_c + 1.0 * q8 q8h2 + nad + 3.0 * h_p
@test rxn.lb < 0.0 && rxn.ub > 0.0
rxn = 1.0 * nadh
rxn = 1.0 * nadh nothing
@test length(rxn.metabolites) == 1
rxn = nadh
rxn = nothing nadh
@test length(rxn.metabolites) == 1
rxn = 1.0nadh
rxn = nothing 1.0nadh
@test length(rxn.metabolites) == 1
rxn = 1.0 * nadh + 4.0 * h_c + 1.0 * q8 1.0 * q8h2 + 1.0 * nad + 3.0 * h_p
......
......@@ -8,9 +8,9 @@
add!(mod, C)
@add_reactions! mod begin
v1, A
v2, B, -500
v3, C, -500, 500
v1, nothing A
v2, nothing B, -500
v3, nothing C, -500, 500
end
rxn = mod.reactions["v1"]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment