Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
COBREXA.jl
Commits
e0744897
Commit
e0744897
authored
May 21, 2021
by
cylon-x
🤖
Browse files
automatic formatting changes
parent
167e0e79
Pipeline
#42093
passed with stages
in 11 minutes and 55 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/base/types/StandardModel.jl
View file @
e0744897
...
...
@@ -317,11 +317,7 @@ function Base.convert(::Type{StandardModel}, model::MetabolicModel)
for
gid
in
gids
notes
=
@timeit
timer
"gene_notes"
gene_notes
(
model
,
gid
)
annotations
=
@timeit
timer
"gene_annotations"
gene_annotations
(
model
,
gid
)
modelgenes
[
gid
]
=
Gene
(
gid
;
notes
=
notes
,
annotations
=
annotations
,
)
# TODO: add name accessor
modelgenes
[
gid
]
=
Gene
(
gid
;
notes
=
notes
,
annotations
=
annotations
)
# TODO: add name accessor
end
end
...
...
@@ -329,7 +325,10 @@ function Base.convert(::Type{StandardModel}, model::MetabolicModel)
# mtask = Base.Threads.@spawn begin
for
mid
in
metids
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
)
notes
=
@timeit
timer
"notes"
metabolite_notes
(
model
,
mid
)
annotations
=
@timeit
timer
"annotations"
metabolite_annotations
(
model
,
mid
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment