torchcell.datamodels.compound_identity_curate.CurationDirective

class CurationDirective(*, label: str, source: str, query: str | None = None, cid: int | None = None, canonical: bool = False, chebi_id: str | None = None, mixture_reason: str | None = None, unresolved_reason: str | None = None, proprietary_reason: str | None = None, undefined_reason: str | None = None)[source]

Bases: BaseModel

One parsed input line: a loader label plus how to resolve it.

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

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

property name_query: str

The string handed to PubChem’s name index.

property skip_lookup: str | None

The terminal reason that makes a PubChem call pointless, if any.