From aff87a8c344ccf0a417f87eea88c05e1d4c7dcd0 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Thu, 16 Jan 2025 10:16:57 +0100 Subject: [PATCH] fix regression that killed stringy capacity names --- Project.toml | 2 +- src/frontend/enzymes.jl | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 865849f0..975ef333 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "COBREXA" uuid = "babc4406-5200-4a30-9033-bf5ae714c842" authors = ["The developers of COBREXA.jl"] -version = "2.6.0" +version = "2.6.1" [deps] AbstractFBCModels = "5a4f3dfa-1789-40f8-8221-69268c29937c" diff --git a/src/frontend/enzymes.jl b/src/frontend/enzymes.jl index 1025f13b..e77cefd3 100644 --- a/src/frontend/enzymes.jl +++ b/src/frontend/enzymes.jl @@ -101,8 +101,9 @@ $(TYPEDSIGNATURES) Internal helper for implementation of [`expand_enzyme_capacity`](@ref) over iterable `Dict`-like objects. """ -expand_enzyme_capacity_iterable(x) = - return [id => (grp, expand_enzyme_capacity_bound(cap)) for (id, (grp, cap)) in x] +expand_enzyme_capacity_iterable(x) = return [ + Symbol(id) => (grp, expand_enzyme_capacity_bound(cap)) for (id, (grp, cap)) in x +] """ $(TYPEDSIGNATURES)