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
70d9eee6
Commit
70d9eee6
authored
Jul 29, 2021
by
Miroslav Kratochvil
🚴
Browse files
use typed fields
parent
6b49d8f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/structs.jl
View file @
70d9eee6
...
...
@@ -82,7 +82,7 @@ $(TYPEDEF)
SBML Compartment with sizing information.
# Fields
$(FIELDS)
$(
TYPED
FIELDS)
"""
struct
Compartment
name
::
Maybe
{
String
}
...
...
@@ -104,7 +104,7 @@ bounds (in tuples `lb` and `ub`, with unit names), and objective coefficient
(`oc`). Also may contains `notes` and `annotation`.
# Fields
$(FIELDS)
$(
TYPED
FIELDS)
"""
struct
Reaction
stoichiometry
::
Dict
{
String
,
Float64
}
...
...
@@ -127,7 +127,7 @@ Species metadata -- contains a human-readable `name`, a `compartment`
identifier, `formula`, `charge`, and additional `notes` and `annotation`.
# Fields
$(FIELDS)
$(
TYPED
FIELDS)
"""
struct
Species
name
::
Maybe
{
String
}
...
...
@@ -150,7 +150,7 @@ $(TYPEDEF)
Gene product metadata.
# Fields
$(FIELDS)
$(
TYPED
FIELDS)
"""
struct
GeneProduct
name
::
Maybe
{
String
}
...
...
@@ -181,7 +181,7 @@ The contained dictionaries are indexed by identifiers of the corresponding
objects.
# Fields
$(FIELDS)
$(
TYPED
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