Skip to content

Commit

Permalink
Merge pull request #621 from LCSB-BioCore/mk-fix-doc
Browse files Browse the repository at this point in the history
fix documentation issues and warnings
  • Loading branch information
exaexa authored May 16, 2022
2 parents 78eb5bd + 02e0c7f commit 6d0e83c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions docs/src/functions/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ Pages = map(file -> joinpath("base", "types", "abstract", file), readdir("../src
Modules = [COBREXA]
Pages = map(file -> joinpath("base", "types", file), readdir("../src/base/types"))
```

## Model type wrappers
```@autodocs
Modules = [COBREXA]
Pages = map(file -> joinpath("base", "types", "wrappers", file), readdir("../src/base/types/wrappers"))
```
2 changes: 1 addition & 1 deletion src/base/types/MetabolicModel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end
Return a vector of metabolite identifiers in a model. The vector precisely
corresponds to the rows in [`stoichiometry`](@ref) matrix.
As with [`reaction`](@ref)s, some metabolites in models may be virtual,
As with [`reactions`](@ref)s, some metabolites in models may be virtual,
representing purely technical equality constraints.
"""
function metabolites(a::MetabolicModel)::Vector{String}
Expand Down
5 changes: 3 additions & 2 deletions src/base/utils/enzymes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ gene_product_mass_group_dict(model::GeckoModel, opt_model) =
"""
gene_product_mass_group_dict(model::GeckoModel)
A pipe-able variant of [`mass_group_dict`](@ref).
A pipe-able variant of [`gene_product_mass_group_dict`](@ref).
"""
gene_product_mass_group_dict(model::GeckoModel) = x -> mass_group_dict(model, x)
gene_product_mass_group_dict(model::GeckoModel) =
x -> gene_product_mass_group_dict(model, x)

"""
gene_product_mass(model::SMomentModel)
Expand Down
2 changes: 1 addition & 1 deletion src/reconstruction/gapfill_minimum_reactions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ refining genome annotation." *Proceedings of the National Academy of Sciences*
The function returns a solved JuMP optimization model, with the boolean
reaction inclusion indicators in variable vector `y`. Use
[`mask`](@ref) or [`gapfilled_rids`](@ref) to collect the reaction
[`gapfilled_mask`](@ref) or [`gapfilled_rids`](@ref) to collect the reaction
information in Julia datatypes.
To reduce the uncertainty in the MILP solver (and likely reduce the
Expand Down

0 comments on commit 6d0e83c

Please sign in to comment.