Commit 3c9bee08 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

clean the docs a bit

(Imperial bonus: DYO is the new MPG!)
parent 40342234
""" """
Part of a measurement unit definition that corresponds to the SBML definition 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" -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 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 struct UnitPart
kind::String kind::String
...@@ -31,7 +35,8 @@ struct Reaction ...@@ -31,7 +35,8 @@ struct Reaction
end end
""" """
Species metadata -- human-readable name and compartment identifier Species metadata -- contains a human-readable `name`, and a `compartment`
identifier
""" """
struct Species struct Species
name::String name::String
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment