OEWritePDBFile

OEWritePDBFile(ofs: oemolostream, mol: Union[OEGraphMol,OEMol,OEQMol],
               flavor: int) -> bool

Writes the molecule as a Brookhaven PDB format file to the output stream ‘ofs’. A number of different PDB format variants are supported by the use of ‘flavor’ parameter from the OEOFlavor_PDB namespace.