Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
SBML.jl
Commits
3c9bee08
Commit
3c9bee08
authored
Feb 06, 2021
by
Miroslav Kratochvil
Browse files
clean the docs a bit
(Imperial bonus: DYO is the new MPG!)
parent
40342234
Changes
1
Show whitespace changes
Inline
Side-by-side
src/structs.jl
View file @
3c9bee08
"""
Part of a measurement unit definition that corresponds to the SBML definition
of `Unit`. For example, "
per
square
megahour
", Mh^(-2), is written as:
of `Unit`. For example,
the unit
"
per
square
megahour
", Mh^(-2), is written as:
UnitPart("
second
", # base unit
of
time
UnitPart("
second
",
# base
SI
unit
, this says we are measuring
time
-2, # exponent, says "
per
square
"
6,
# scale in powers of 10
, says "
mega
"
6,
# log-10 scale of the unit
, says "
mega
"
1/3600) # second-to-hour multiplier
Compound units (such as "
volt
-
amperes
" and "
dozens
of
yards
per
ounce
") are
built from multiple `UnitPart`s; see the definition of field `units` in
[`Model`](@ref).
"""
struct
UnitPart
kind
::
String
...
...
@@ -31,7 +35,8 @@ struct Reaction
end
"""
Species metadata -- human-readable name and compartment identifier
Species metadata -- contains a human-readable `name`, and a `compartment`
identifier
"""
struct
Species
name
::
String
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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