Skip to content
Snippets Groups Projects
Unverified Commit eac6b841 authored by cylon-x's avatar cylon-x :robot: Committed by Miroslav Kratochvil
Browse files

automatic formatting changes

parent 5062c3c5
No related branches found
No related tags found
No related merge requests found
......@@ -205,7 +205,7 @@ function Base.convert(::Type{MATModel}, m::MetabolicModel)
_default.(
"",
_maybemap.(
x->_unparse_grr(String, x),
x -> _unparse_grr(String, x),
reaction_gene_association.(Ref(m), reactions(m)),
),
),
......
......@@ -38,7 +38,7 @@ function Base.show(io::IO, ::MIME"text/plain", r::Reaction)
_print_with_colors(
io,
"Reaction.$(string(fname)): ",
_maybemap(x->_unparse_grr(String, x), r.grr),
_maybemap(x -> _unparse_grr(String, x), r.grr),
)
elseif fname in (:lb, :ub, :objective_coefficient)
_print_with_colors(
......
......@@ -218,8 +218,7 @@ function remove_reactions(m::CoreModel, rxns::Vector{Int})
newxu = m.xu[rxns_to_keep]
new_rxns = m.rxns[rxns_to_keep]
new_mets = m.mets[mets_to_keep]
new_model =
CoreModel(new_s, newb, newc, newxl, newxu, new_rxns, new_mets)
new_model = CoreModel(new_s, newb, newc, newxl, newxu, new_rxns, new_mets)
return new_model
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment