Commit 26c13d0a authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

save the association to reaction struct

parent fbc19f90
......@@ -274,7 +274,6 @@ function extractModel(mdl::VPtr)::Model
a = ccall(sbml(:GeneProductAssociation_getAssociation), VPtr, (VPtr,), gpa)
a != C_NULL
association = getAssociation(a)
@info "assoc:" association
end
end
......@@ -284,6 +283,7 @@ function extractModel(mdl::VPtr)::Model
lb,
ub,
haskey(objectives_fbc, reid) ? objectives_fbc[reid] : oc,
association,
getNotes(re),
getAnnotation(re),
)
......
......@@ -70,7 +70,7 @@ struct Reaction
gene_product_association::Maybe{GeneProductAssociation}
notes::Maybe{String}
annotation::Maybe{String}
Reaction(s, l, u, o, n = nothing, a = nothing) = new(s, l, u, o, n, a)
Reaction(s, l, u, o, as, n = nothing, an = nothing) = new(s, l, u, o, as, n, an)
end
"""
......
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