torchcell.metabolism.enzyme_kinetics.OedKineticRecord

class OedKineticRecord(*, ec: str | None = None, substrate: str | None = None, organism: str | None = None, uniprot: str | None = None, enzymetype: str | None = None, ph: float | None = None, temperature: float | None = None, smiles: str | None = None, kcat_value: float | None = None, kcat_unit: str | None = None, kcat_pubmedid: float | None = None, km_value: float | None = None, km_unit: str | None = None, km_pubmedid: float | None = None, **extra_data: Any)[source]

Bases: BaseModel

One OED row, kept verbatim.

Stored unmodified so the selection cascade is auditable against the source rather than against an already-filtered view. model_config allows unknown columns because the OED is a live community resource and gaining a column must not break ingestion.

model_config: ClassVar[ConfigDict] = {'extra': 'allow'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

value_for(kind: KineticKind) → float | None[source]

The value of the requested constant, or None if this row does not carry it.

unit_for(kind: KineticKind) → str | None[source]

The unit string OED recorded alongside the value.

pubmed_for(kind: KineticKind) → str | None[source]

PubMed id of the measurement, normalized to a string without the float tail.