Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
SBML.jl
Commits
6b49d8f7
Commit
6b49d8f7
authored
Jul 28, 2021
by
anand jain
Browse files
docstringextensions
parent
4ef5b4b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Project.toml
View file @
6b49d8f7
...
...
@@ -4,6 +4,7 @@ authors = ["Mirek Kratochvil <miroslav.kratochvil@uni.lu>", "LCSB R3 team <lcsb-
version
=
"0.6.0"
[deps]
DocStringExtensions
=
"ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
IfElse
=
"615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
Libdl
=
"8f399da3-3557-5675-b5ff-fb832c97cbdb"
SBML_jll
=
"bb12108a-f4ef-5f88-8ef3-0b33ff7017f1"
...
...
src/SBML.jl
View file @
6b49d8f7
"""
$
(DocStringExtensions.README)
"""
module
SBML
using
DocStringExtensions
using
SBML_jll
,
Libdl
using
SparseArrays
using
Symbolics
...
...
src/structs.jl
View file @
6b49d8f7
...
...
@@ -77,7 +77,12 @@ struct MathLambda <: Math
end
"""
$(TYPEDEF)
SBML Compartment with sizing information.
# Fields
$(FIELDS)
"""
struct
Compartment
name
::
Maybe
{
String
}
...
...
@@ -91,10 +96,15 @@ struct Compartment
end
"""
$(TYPEDEF)
Reaction with stoichiometry that assigns reactants and products their relative
consumption/production rates (accessible in field `stoichiometry`), lower/upper
bounds (in tuples `lb` and `ub`, with unit names), and objective coefficient
(`oc`). Also may contains `notes` and `annotation`.
# Fields
$(FIELDS)
"""
struct
Reaction
stoichiometry
::
Dict
{
String
,
Float64
}
...
...
@@ -111,8 +121,13 @@ struct Reaction
end
"""
$(TYPEDEF)
Species metadata -- contains a human-readable `name`, a `compartment`
identifier, `formula`, `charge`, and additional `notes` and `annotation`.
# Fields
$(FIELDS)
"""
struct
Species
name
::
Maybe
{
String
}
...
...
@@ -130,7 +145,12 @@ struct Species
end
"""
$(TYPEDEF)
Gene product metadata.
# Fields
$(FIELDS)
"""
struct
GeneProduct
name
::
Maybe
{
String
}
...
...
@@ -152,11 +172,16 @@ struct FunctionDefinition
end
"""
$(TYPEDEF)
Structure that collects the model-related data. Contains `parameters`, `units`,
`compartments`, `species` and `reactions` and `gene_products`, and additional
`notes` and `annotation` (also present internally in some of the data fields).
The contained dictionaries are indexed by identifiers of the corresponding
objects.
# Fields
$(FIELDS)
"""
struct
Model
parameters
::
Dict
{
String
,
Float64
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment