Skip to content

Commit

Permalink
fix regression that killed stringy capacity names
Browse files Browse the repository at this point in the history
  • Loading branch information
exaexa committed Jan 16, 2025
1 parent eefa8d3 commit aff87a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
5 changes: 3 additions & 2 deletions src/frontend/enzymes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aff87a8

Please sign in to comment.