exceptions.MoleculeParsingError
Error parsing a molecule representation.
Usage
exceptions.MoleculeParsingError()Raised when RDKit fails to parse a molecular structure.
Methods
| Name | Description |
|---|---|
| __init__() | Initialize with details about the failed parsing. |
__init__()
Initialize with details about the failed parsing.
Usage
__init__(input_string, input_type="unknown", *args, **kwargs)Parameters
input_string: str-
The string that failed to parse.
input_type: str = "unknown"-
Format of the input string (e.g. SMILES, InChI, SMARTS). Default is ‘unknown’.
*args: Any-
Additional positional arguments forwarded to the parent exception.
**kwargs: Any- Additional keyword arguments forwarded to the parent exception.