Skip to content

Data Adapters

polaris.dataset._adapters

Adapter

Bases: Enum

Adapters are predefined callables that change the format of the data. Adapters are serializable and can thus be saved alongside datasets.

Attributes:

Name Type Description
SMILES_TO_MOL

Convert a SMILES string to a RDKit molecule.

BYTES_TO_MOL

Convert a RDKit binary string to a RDKit molecule.

ARRAY_TO_PDB

Convert a Zarr arrays to PDB arrays.