OEIsWriteable

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

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

See also