OEIsReadable

OEIsReadable(format: int) -> bool
OEIsReadable(filename: str) -> bool
OEIsReadable(format: int, flavor: int) -> bool
OEIsReadable(filename: str, flavor: int) -> bool

Returns true if the supplied file format is readable by OEChem TK via OEReadMolecule. The ‘filename’ can be a file name or a file extension. The ‘format’ parameter value should be drawn from the OEFormat namespace.

See also