torchcell.metabolism.pathway.ReactionSpec
- class ReactionSpec(*, id: str, name: str, stoichiometry: dict[str, float], lower_bound: float = 0.0, upper_bound: float = 1000.0, gene_reaction_rule: str = '', spontaneous: bool = False, subsystem: str = '', evidence: EvidenceTier = EvidenceTier.SOURCED, quote: str | None = None, note: str | None = None)[source]
Bases:
BaseModelA reaction the genome-scale model does not have yet.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].