# ## Inspecting the flux solution: `metabolite_fluxes`
...
...
@@ -174,10 +174,16 @@ pgm_duplicate
#
check_duplicate_reaction(pgm_duplicate,model.reactions;only_metabolites=false)# can also just check if only the metabolites are the same but different stoichiometry is used
# ## Checking the internals of `StandardModel`s: `is_mass_balanced`
# ## Checking the internals of `StandardModel`s: `reaction_mass_balanced`
# Finally, [`is_mass_balanced`](@ref) can be used to check if a reaction is mass
# Finally, [`reaction_mass_balanced`](@ref) can be used to check if a reaction is mass
# balanced based on the formulas of the reaction equation.
pgm_duplicate.metabolites=Dict{String,Float64}("3pg_c"=>1,"2pg_c"=>-1,"h2o_c"=>1)# not mass balanced now
is_bal,extra_atoms=is_mass_balanced(model,pgm_duplicate)# extra_atoms shows which atoms are in excess/deficit