torchcell.datamodels.schema.EnvironmentResponseExperiment

class EnvironmentResponseExperiment(*, experiment_type: str = 'environment_response', dataset_name: str, genotype: Genotype | list[Genotype], environment: Environment, phenotype: EnvironmentResponsePhenotype)[source]

Bases: Experiment, ModelStrict

Experiment measuring a strain’s response to an environmental perturbation.

model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}

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