Skip to content
Snippets Groups Projects
Unverified Commit d75efbaa authored by Laurent Heirendt's avatar Laurent Heirendt :airplane: Committed by GitHub
Browse files

Merge pull request #340 from LCSB-BioCore/mk-sbml050-compat

SBML-0.5.0 compat
parents 00721ee9 f0fe8f34
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ MAT = "0.10"
MacroTools = "0.5.6"
OSQP = "0.6"
OrderedCollections = "1.4"
SBML = "0.4"
SBML = "0.4, 0.5"
Tulip = "0.7"
julia = "1"
......
......@@ -182,6 +182,7 @@ function Base.convert(::Type{SBMLModel}, mm::MetabolicModel)
metabolite_formula(mm, mid),
metabolite_charge(mm, mid),
nothing, # initial amount
nothing, # initial concentration
nothing, # only substance unit flags
_sbml_export_notes(metabolite_notes(mm, mid)),
_sbml_export_annotation(metabolite_annotations(mm, mid)),
......@@ -200,7 +201,8 @@ function Base.convert(::Type{SBMLModel}, mm::MetabolicModel)
x -> _unparse_grr(SBML.GeneProductAssociation, x),
reaction_gene_association(mm, rid),
),
nothing,
nothing, # no kinetic math
true, # reversible by default
_sbml_export_notes(reaction_notes(mm, rid)),
_sbml_export_annotation(reaction_annotations(mm, rid)),
) for (ri, rid) in enumerate(rxns)
......
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