void MyWriteMDLMolecule(oemolostream &ofs, OEMolBase &mol) { OEClearAromaticFlags(mol); if (!OEMDLHasParity(mol)) OEMDLPerceiveParity(mol); OEWriteMDLFile(ofs,mol); ofs << "$$$$" << endl; }