drugforge.data.backend.openeye.load_openeye_design_unit
- drugforge.data.backend.openeye.load_openeye_design_unit(du_fn: str | Path) openeye.oechem.OEDesignUnit[source]
Load an OpenEye design unit from a file
- Parameters:
du_fn (Union[str, Path]) – The path of the DesignUnit file to read.
- Returns:
OpenEye DesignUnit
- Return type:
oechem.OEDesignUnit
- Raises:
FileNotFoundError – If the specified file does not exist.
oechem.OEError – If the CIF file cannot be opened.