3.8 Writing Const Molecules

The high-level OEReadMolecule and OEWriteMolecule functions standardize the molecule according to the output type for uniformity. For writing molecules without changing them, there are two options. If you would like the data to appear in the file exactly as it is in the molecule (perhaps tripos atom names in a .pdb format), then you should use a low level writer (e.g.-OEWriteMol2). On the other hand, if you would like to write a standardized molecule (e.g.-tripos atom types in a MOL2 file), but don't want your molecule changed, you can use OEWriteConstMolecule .