Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
COBREXA.jl
Manage
Activity
Members
Plan
External wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LCSB-BioCore
COBREXA.jl
Commits
5a53c840
Commit
5a53c840
authored
3 years ago
by
Miroslav Kratochvil
Browse files
Options
Downloads
Patches
Plain Diff
fix a sneaky bug
parent
5e949818
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/reconstruction/Reaction.jl
+1
-1
1 addition, 1 deletion
src/reconstruction/Reaction.jl
with
1 addition
and
1 deletion
src/reconstruction/Reaction.jl
+
1
−
1
View file @
5a53c840
...
...
@@ -39,7 +39,7 @@ function _mkrxn(substrates, products)
elseif
typeof
(
substrates
)
==
MetaboliteWithCoefficient
metdict
[
substrates
.
metabolite
.
id
]
=
get
(
metdict
,
substrates
.
metabolite
.
id
,
0.0
)
-
1.0
*
abs
(
substrates
.
coeff
)
elseif
typeof
(
product
s
)
==
Vector
{
MetaboliteWithCoefficient
}
elseif
typeof
(
substrate
s
)
==
Vector
{
MetaboliteWithCoefficient
}
for
mwc
in
substrates
metdict
[
mwc
.
metabolite
.
id
]
=
get
(
metdict
,
mwc
.
metabolite
.
id
,
0.0
)
-
1.0
*
abs
(
mwc
.
coeff
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment