torchcell.datamodels.ontology_checks.EnvironmentCompoundCollision

class EnvironmentCompoundCollision(*, identity: str, component_name: str, perturbation_name: str)[source]

Bases: BaseModel

One compound encoded twice in an environment: as a component AND as an edit.

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

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