OEIsValidSubSearchDatabase
Attention
This API is currently available in C++ and Python.
OEIsValidSubSearchDatabase(filename: str) -> bool
OEIsValidSubSearchDatabase(ifs: oemolistream) -> bool
Returns true if the given molecule stream or the file is a valid
substructure search database that was created by the
OECreateSubSearchDatabaseFile function.
OEIsValidSubSearchDatabase(filename: str,
arg2: OESubSearchScreenTypeBase) -> bool
OEIsValidSubSearchDatabase(ifs: oemolistream,
arg2: OESubSearchScreenTypeBase) -> bool
Returns true if the given molecule stream or the file is a valid
substructure search database that was created by the
OECreateSubSearchDatabaseFile function.
These functions also check if the database stores substructure search
screens with the given type.
See also
Code Example