Commit e0744897 authored by cylon-x's avatar cylon-x 🤖
Browse files

automatic formatting changes

parent 167e0e79
Pipeline #42093 passed with stages
in 11 minutes and 55 seconds
...@@ -317,11 +317,7 @@ function Base.convert(::Type{StandardModel}, model::MetabolicModel) ...@@ -317,11 +317,7 @@ function Base.convert(::Type{StandardModel}, model::MetabolicModel)
for gid in gids for gid in gids
notes = @timeit timer "gene_notes" gene_notes(model, gid) notes = @timeit timer "gene_notes" gene_notes(model, gid)
annotations = @timeit timer "gene_annotations" gene_annotations(model, gid) annotations = @timeit timer "gene_annotations" gene_annotations(model, gid)
modelgenes[gid] = Gene( modelgenes[gid] = Gene(gid; notes = notes, annotations = annotations) # TODO: add name accessor
gid;
notes = notes,
annotations = annotations,
) # TODO: add name accessor
end end
end end
...@@ -329,7 +325,10 @@ function Base.convert(::Type{StandardModel}, model::MetabolicModel) ...@@ -329,7 +325,10 @@ function Base.convert(::Type{StandardModel}, model::MetabolicModel)
# mtask = Base.Threads.@spawn begin # mtask = Base.Threads.@spawn begin
for mid in metids for mid in metids
charge = @timeit timer "charge" metabolite_charge(model, mid) charge = @timeit timer "charge" metabolite_charge(model, mid)
formula = @timeit timer "formula" _maybemap(_unparse_formula, metabolite_formula(model, mid)) formula = @timeit timer "formula" _maybemap(
_unparse_formula,
metabolite_formula(model, mid),
)
compartment = @timeit timer "compartment" metabolite_compartment(model, mid) compartment = @timeit timer "compartment" metabolite_compartment(model, mid)
notes = @timeit timer "notes" metabolite_notes(model, mid) notes = @timeit timer "notes" metabolite_notes(model, mid)
annotations = @timeit timer "annotations" metabolite_annotations(model, mid) annotations = @timeit timer "annotations" metabolite_annotations(model, mid)
......
Markdown is supported
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