psamm.datasource.entry
– Model entry representations¶
Representation of compound/reaction entries in models.
-
class
psamm.datasource.entry.
CompartmentEntry
¶ Abstract compartment entry.
-
class
psamm.datasource.entry.
CompoundEntry
¶ Abstract compound entry.
-
charge
¶ Compound charge value.
-
formula
¶ Chemical formula of compound.
-
-
class
psamm.datasource.entry.
DictCompartmentEntry
(*args, **kwargs)¶ Compartment entry backed by dictionary.
The given properties dictionary must contain a key ‘id’ with the identifier.
Parameters: - properties – dict or
CompartmentEntry
to construct from. - filemark – Where the entry was parsed from (optional)
- properties – dict or
-
class
psamm.datasource.entry.
DictCompoundEntry
(*args, **kwargs)¶ Compound entry backed by dictionary.
The given properties dictionary must contain a key ‘id’ with the identifier.
Parameters: - properties – dict or
CompoundEntry
to construct from. - filemark – Where the entry was parsed from (optional)
- properties – dict or
-
class
psamm.datasource.entry.
DictReactionEntry
(*args, **kwargs)¶ Reaction entry backed by dictionary.
The given properties dictionary must contain a key ‘id’ with the identifier.
Parameters: - properties – dict or
ReactionEntry
to construct from. - filemark – Where the entry was parsed from (optional)
- properties – dict or